Author: gseitz
Date: Thu May 15 11:05:59 2008
New Revision: 656764
URL: http://svn.apache.org/viewvc?rev=656764&view=rev
Log:
added missing serialVersionUIDs
Modified:
wicket/trunk/wicket-velocity/src/main/java/org/apache/wicket/velocity/VelocityHeaderContributor.java
wicket/trunk/wicket-velocity/src/main/java/org/apache/wicket/velocity/VelocityJavascriptContributor.java
wicket/trunk/wicket-velocity/src/main/java/org/apache/wicket/velocity/markup/html/VelocityPanel.java
wicket/trunk/wicket-velocity/src/test/java/org/apache/wicket/contrib/markup/html/velocity/VelocityWithMarkupParsingPage.java
wicket/trunk/wicket-velocity/src/test/java/org/apache/wicket/contrib/velocity/VelocityJavascriptPage.java
Modified:
wicket/trunk/wicket-velocity/src/main/java/org/apache/wicket/velocity/VelocityHeaderContributor.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket-velocity/src/main/java/org/apache/wicket/velocity/VelocityHeaderContributor.java?rev=656764&r1=656763&r2=656764&view=diff
==============================================================================
---
wicket/trunk/wicket-velocity/src/main/java/org/apache/wicket/velocity/VelocityHeaderContributor.java
(original)
+++
wicket/trunk/wicket-velocity/src/main/java/org/apache/wicket/velocity/VelocityHeaderContributor.java
Thu May 15 11:05:59 2008
@@ -30,6 +30,7 @@
*/
public class VelocityHeaderContributor extends AbstractHeaderContributor
{
+ private static final long serialVersionUID = 1L;
private final List<VelocityContributor> contributors = new
ArrayList<VelocityContributor>(1);
Modified:
wicket/trunk/wicket-velocity/src/main/java/org/apache/wicket/velocity/VelocityJavascriptContributor.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket-velocity/src/main/java/org/apache/wicket/velocity/VelocityJavascriptContributor.java?rev=656764&r1=656763&r2=656764&view=diff
==============================================================================
---
wicket/trunk/wicket-velocity/src/main/java/org/apache/wicket/velocity/VelocityJavascriptContributor.java
(original)
+++
wicket/trunk/wicket-velocity/src/main/java/org/apache/wicket/velocity/VelocityJavascriptContributor.java
Thu May 15 11:05:59 2008
@@ -24,11 +24,13 @@
import org.apache.wicket.util.lang.Packages;
/**
- * A derivation of VelocityContributor that uses
- * [EMAIL PROTECTED]
org.apache.wicket.markup.html.IHeaderResponse#renderJavascript(CharSequence,
String)}
+ * A derivation of VelocityContributor that uses [EMAIL PROTECTED]
+ *
org.apache.wicket.markup.html.IHeaderResponse#renderJavascript(CharSequence,
String)}
*/
public class VelocityJavascriptContributor extends VelocityContributor
{
+ private static final long serialVersionUID = 1L;
+
private final String id;
/**
@@ -63,7 +65,8 @@
}
/**
- * @see
org.apache.wicket.velocity.VelocityContributor#renderHead(org.apache.wicket.markup.html.IHeaderResponse)
+ * @see
org.apache.wicket.velocity.VelocityContributor#renderHead(org.apache.wicket.markup.html.
+ * IHeaderResponse)
*/
@Override
public void renderHead(IHeaderResponse response)
Modified:
wicket/trunk/wicket-velocity/src/main/java/org/apache/wicket/velocity/markup/html/VelocityPanel.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket-velocity/src/main/java/org/apache/wicket/velocity/markup/html/VelocityPanel.java?rev=656764&r1=656763&r2=656764&view=diff
==============================================================================
---
wicket/trunk/wicket-velocity/src/main/java/org/apache/wicket/velocity/markup/html/VelocityPanel.java
(original)
+++
wicket/trunk/wicket-velocity/src/main/java/org/apache/wicket/velocity/markup/html/VelocityPanel.java
Thu May 15 11:05:59 2008
@@ -48,8 +48,8 @@
* [EMAIL PROTECTED] Map}, which will be used to create the [EMAIL PROTECTED]
VelocityContext}.
*
* <p>
- * <b>Note:</b> Be sure to properly initialize the Velocity engine before using
- * [EMAIL PROTECTED] VelocityPanel}.
+ * <b>Note:</b> Be sure to properly initialize the Velocity engine before
using [EMAIL PROTECTED] VelocityPanel
+ * }.
* </p>
*/
@SuppressWarnings("unchecked")
@@ -59,15 +59,15 @@
IMarkupCacheKeyProvider
{
/**
- * Convenience factory method to create a [EMAIL PROTECTED]
VelocityPanel} instance with a given
- * [EMAIL PROTECTED] IStringResourceStream template resource}.
+ * Convenience factory method to create a [EMAIL PROTECTED]
VelocityPanel} instance with a given [EMAIL PROTECTED]
+ * IStringResourceStream template resource}.
*
* @param id
- * Component id
+ * Component id
* @param model
- * optional model for variable substitution.
+ * optional model for variable substitution.
* @param templateResource
- * The template resource
+ * The template resource
* @return an instance of [EMAIL PROTECTED] VelocityPanel}
*/
public static VelocityPanel forTemplateResource(String id, IModel< ?
extends Map> model,
@@ -80,6 +80,8 @@
return new VelocityPanel(id, model)
{
+ private static final long serialVersionUID = 1L;
+
@Override
protected IStringResourceStream getTemplateResource()
{
@@ -95,11 +97,11 @@
* Construct.
*
* @param id
- * Component id
+ * Component id
* @param templateResource
- * The velocity template as a string resource
+ * The velocity template as a string resource
* @param model
- * Model with variables that can be substituted by Velocity.
+ * Model with variables that can be substituted by
Velocity.
*/
public VelocityPanel(final String id, final IModel< ? extends Map>
model)
{
@@ -129,8 +131,8 @@
}
/**
- * @see
org.apache.wicket.markup.html.panel.Panel#onComponentTagBody(org.apache.wicket.markup.MarkupStream,
- * org.apache.wicket.markup.ComponentTag)
+ * @see
org.apache.wicket.markup.html.panel.Panel#onComponentTagBody(org.apache.wicket.markup.
+ * MarkupStream, org.apache.wicket.markup.ComponentTag)
*/
@Override
protected void onComponentTagBody(MarkupStream markupStream,
ComponentTag openTag)
@@ -168,11 +170,11 @@
* Either print or rethrow the throwable.
*
* @param exception
- * the cause
+ * the cause
* @param markupStream
- * the markup stream
+ * the markup stream
* @param openTag
- * the open tag
+ * the open tag
*/
private void onException(final Exception exception)
{
@@ -209,7 +211,7 @@
* Evaluates the template and returns the result.
*
* @param templateReader
- * used to read the template
+ * used to read the template
* @return the result of evaluating the velocity template
*/
private String evaluateVelocityTemplate(Reader templateReader)
@@ -295,8 +297,9 @@
}
/**
- * @see
org.apache.wicket.markup.IMarkupResourceStreamProvider#getMarkupResourceStream(org.apache.wicket.MarkupContainer,
- * java.lang.Class)
+ * @see
+ *
org.apache.wicket.markup.IMarkupResourceStreamProvider#getMarkupResourceStream(org.apache
+ * .wicket.MarkupContainer, java.lang.Class)
*/
public final IResourceStream getMarkupResourceStream(MarkupContainer< ?
> container,
Class< ? > containerClass)
@@ -316,8 +319,8 @@
}
/**
- * @see
org.apache.wicket.markup.IMarkupCacheKeyProvider#getCacheKey(org.apache.wicket.MarkupContainer,
- * java.lang.Class)
+ * @see
org.apache.wicket.markup.IMarkupCacheKeyProvider#getCacheKey(org.apache.wicket.
+ * MarkupContainer, java.lang.Class)
*/
public final String getCacheKey(MarkupContainer< ? > container, Class<
? > containerClass)
{
Modified:
wicket/trunk/wicket-velocity/src/test/java/org/apache/wicket/contrib/markup/html/velocity/VelocityWithMarkupParsingPage.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket-velocity/src/test/java/org/apache/wicket/contrib/markup/html/velocity/VelocityWithMarkupParsingPage.java?rev=656764&r1=656763&r2=656764&view=diff
==============================================================================
---
wicket/trunk/wicket-velocity/src/test/java/org/apache/wicket/contrib/markup/html/velocity/VelocityWithMarkupParsingPage.java
(original)
+++
wicket/trunk/wicket-velocity/src/test/java/org/apache/wicket/contrib/markup/html/velocity/VelocityWithMarkupParsingPage.java
Thu May 15 11:05:59 2008
@@ -43,6 +43,8 @@
VelocityPanel velocityPanel = new VelocityPanel("velocityPanel",
new Model<HashMap<String, String>>(values))
{
+ private static final long serialVersionUID = 1L;
+
@Override
protected IStringResourceStream getTemplateResource()
{
Modified:
wicket/trunk/wicket-velocity/src/test/java/org/apache/wicket/contrib/velocity/VelocityJavascriptPage.java
URL:
http://svn.apache.org/viewvc/wicket/trunk/wicket-velocity/src/test/java/org/apache/wicket/contrib/velocity/VelocityJavascriptPage.java?rev=656764&r1=656763&r2=656764&view=diff
==============================================================================
---
wicket/trunk/wicket-velocity/src/test/java/org/apache/wicket/contrib/velocity/VelocityJavascriptPage.java
(original)
+++
wicket/trunk/wicket-velocity/src/test/java/org/apache/wicket/contrib/velocity/VelocityJavascriptPage.java
Thu May 15 11:05:59 2008
@@ -44,6 +44,8 @@
IModel<MiniMap<String, String>> model = new
Model<MiniMap<String, String>>()
{
+ private static final long serialVersionUID = 1L;
+
@Override
public MiniMap<String, String> getObject()
{