Author: jdonnerstag
Date: Sun Mar 4 11:34:52 2007
New Revision: 514460
URL: http://svn.apache.org/viewvc?view=rev&rev=514460
Log:
javadoc
Modified:
incubator/wicket/trunk/wicket/src/main/java/wicket/Component.java
incubator/wicket/trunk/wicket/src/main/java/wicket/MarkupContainer.java
Modified: incubator/wicket/trunk/wicket/src/main/java/wicket/Component.java
URL:
http://svn.apache.org/viewvc/incubator/wicket/trunk/wicket/src/main/java/wicket/Component.java?view=diff&rev=514460&r1=514459&r2=514460
==============================================================================
--- incubator/wicket/trunk/wicket/src/main/java/wicket/Component.java (original)
+++ incubator/wicket/trunk/wicket/src/main/java/wicket/Component.java Sun Mar
4 11:34:52 2007
@@ -683,15 +683,14 @@
}
}
// Bordered pages might implement the interface to allow to
redirect
- // to another parent without the need to change to code of
adding a
+ // to another parent without the need to change the code of
adding a
// component. Another use case is where you want the parent to
- // automatically
- // add a container in between the parent and new component.
+ // automatically add a container in between the parent and new
component.
else if (parent instanceof IAlternateParentProvider)
{
while (parent instanceof IAlternateParentProvider)
{
- MarkupContainer oldParent = parent;
+ MarkupContainer<?> oldParent = parent;
parent =
((IAlternateParentProvider)parent).getAlternateParent(this.getClass(), id);
if (parent == oldParent)
{
Modified:
incubator/wicket/trunk/wicket/src/main/java/wicket/MarkupContainer.java
URL:
http://svn.apache.org/viewvc/incubator/wicket/trunk/wicket/src/main/java/wicket/MarkupContainer.java?view=diff&rev=514460&r1=514459&r2=514460
==============================================================================
--- incubator/wicket/trunk/wicket/src/main/java/wicket/MarkupContainer.java
(original)
+++ incubator/wicket/trunk/wicket/src/main/java/wicket/MarkupContainer.java Sun
Mar 4 11:34:52 2007
@@ -782,8 +782,7 @@
}
/**
- * Gets a fresh markup stream that contains the (immutable) markup
resource
- * for this class.
+ * Gets the immuatable markup for this class.
*
* @param throwException
* If true, throw an exception, if markup could not be found
@@ -801,8 +800,7 @@
catch (MarkupException ex)
{
// re-throw it. The exception contains already
all the
- // information
- // required.
+ // information required.
throw ex;
}
catch (WicketRuntimeException ex)