You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by iv...@apache.org on 2014/02/21 16:26:00 UTC

git commit: WICKET-3335 small cleanup

Repository: wicket
Updated Branches:
  refs/heads/master f0f8a0a44 -> b3e922c76


WICKET-3335 small cleanup


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/b3e922c7
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/b3e922c7
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/b3e922c7

Branch: refs/heads/master
Commit: b3e922c76e6705c46f84dc4d8258ba3906379a4b
Parents: f0f8a0a
Author: Igor Vaynberg <ig...@gmail.com>
Authored: Fri Feb 21 07:25:34 2014 -0800
Committer: Igor Vaynberg <ig...@gmail.com>
Committed: Fri Feb 21 07:25:57 2014 -0800

----------------------------------------------------------------------
 .../java/org/apache/wicket/markup/html/border/Border.java     | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/b3e922c7/wicket-core/src/main/java/org/apache/wicket/markup/html/border/Border.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/markup/html/border/Border.java b/wicket-core/src/main/java/org/apache/wicket/markup/html/border/Border.java
index c44d60b..a53b780 100644
--- a/wicket-core/src/main/java/org/apache/wicket/markup/html/border/Border.java
+++ b/wicket-core/src/main/java/org/apache/wicket/markup/html/border/Border.java
@@ -541,7 +541,7 @@ public abstract class Border extends WebMarkupContainer implements IComponentRes
 		public IMarkupFragment getDequeueMarkup()
 		{
 			Border border=findParent(Border.class);
-			IMarkupFragment fragment=findParent(Border.class).getMarkup();
+			IMarkupFragment fragment = border.getMarkup();
 
 			if (fragment == null)
 			{
@@ -574,8 +574,9 @@ public abstract class Border extends WebMarkupContainer implements IComponentRes
 			}
 
 
-			/* TODO queueing The comment is not finished
-			 * (i) is now at the border tag, find the next component tag which
+			/*
+			 * (i) is now at the border tag, find the next component tag (the tag that will belong
+			 * to the first direct child
 			 */
 
 			i++;