You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by al...@apache.org on 2007/09/04 20:40:16 UTC

svn commit: r572769 - /wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/Enclosure.java

Author: almaw
Date: Tue Sep  4 11:40:15 2007
New Revision: 572769

URL: http://svn.apache.org/viewvc?rev=572769&view=rev
Log:
@since 1.3

Modified:
    wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/Enclosure.java

Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/Enclosure.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/Enclosure.java?rev=572769&r1=572768&r2=572769&view=diff
==============================================================================
--- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/Enclosure.java (original)
+++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/Enclosure.java Tue Sep  4 11:40:15 2007
@@ -29,11 +29,10 @@
 import org.slf4j.LoggerFactory;
 
 
-
 /**
- * An Enclosure are automatically created by Wicket. Do not create it yourself.
- * An Enclosure container is created if <wicket:enclosure> is found in the
- * markup. It is meant to solve the following situation. Instead of
+ * An Enclosure are automatically created by Wicket. Do not create it yourself. An Enclosure
+ * container is created if <wicket:enclosure> is found in the markup. It is meant to solve the
+ * following situation. Instead of
  * 
  * <pre>
  *    &lt;table wicket:id=&quot;label-container&quot; class=&quot;notify&quot;&gt;&lt;tr&gt;&lt;td&gt;&lt;span wicket:id=&quot;label&quot;&gt;[[notification]]&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt; 
@@ -69,6 +68,7 @@
  * @see EnclosureHandler
  * 
  * @author Juergen Donnerstag
+ * @since 1.3
  */
 public class Enclosure extends WebMarkupContainer
 {
@@ -132,8 +132,9 @@
 		final Component child = parent.get(childId.toString());
 		if (child == null)
 		{
-			throw new MarkupException("Didn't find child component of <wicket:enclosure> with id='"
-					+ childId + "'. Component: " + this.toString());
+			throw new MarkupException(
+					"Didn't find child component of <wicket:enclosure> with id='" + childId +
+							"'. Component: " + this.toString());
 		}
 
 		return child;