You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by eh...@apache.org on 2007/05/07 18:58:08 UTC
svn commit: r535927 -
/incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/main/java/org/apache/wicket/velocity/markup/html/VelocityPanel.java
Author: ehillenius
Date: Mon May 7 09:58:07 2007
New Revision: 535927
URL: http://svn.apache.org/viewvc?view=rev&rev=535927
Log:
javadoc warning fix + sorted members
Modified:
incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/main/java/org/apache/wicket/velocity/markup/html/VelocityPanel.java
Modified: incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/main/java/org/apache/wicket/velocity/markup/html/VelocityPanel.java
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/main/java/org/apache/wicket/velocity/markup/html/VelocityPanel.java?view=diff&rev=535927&r1=535926&r2=535927
==============================================================================
--- incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/main/java/org/apache/wicket/velocity/markup/html/VelocityPanel.java (original)
+++ incubator/wicket/trunk/jdk-1.4/wicket-velocity/src/main/java/org/apache/wicket/velocity/markup/html/VelocityPanel.java Mon May 7 09:58:07 2007
@@ -69,7 +69,7 @@
* Model with variables that can be substituted by Velocity. Must
* return a {@link Map}.
*/
- public VelocityPanel(final String name, final IModel/* <Map> */ model)
+ public VelocityPanel(final String name, final IModel/* <Map> */model)
{
super(name, model);
}
@@ -90,11 +90,6 @@
}
/**
- * Returns the template resource passed to the constructor
- */
- protected abstract IStringResourceStream getTemplateResource();
-
- /**
* Either print or rethrow the throwable.
*
* @param exception
@@ -131,6 +126,13 @@
}
/**
+ * Returns the template resource passed to the constructor.
+ *
+ * @return The template resource
+ */
+ protected abstract IStringResourceStream getTemplateResource();
+
+ /**
* @see org.apache.wicket.markup.html.panel.Panel#onComponentTagBody(org.apache.wicket.markup.MarkupStream,
* org.apache.wicket.markup.ComponentTag)
*/
@@ -187,8 +189,7 @@
}
catch (ResourceStreamNotFoundException e)
{
- throw new RuntimeException(
- "Could not parse resulting markup", e);
+ throw new RuntimeException("Could not parse resulting markup", e);
}
markupStream.skipRawMarkup();
renderAll(new MarkupStream(markup));