Author: jdonnerstag
Date: Sat Jun  4 20:15:14 2011
New Revision: 1131487

URL: http://svn.apache.org/viewvc?rev=1131487&view=rev
Log:
wicket:border: inconsistency between add() and remove()

MarkupContainer.add() can be final again. It seems it was forgotten while 
reverting Border addXXX behavior
Issue: WICKET-3702

Modified:
    
wicket/trunk/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java

Modified: 
wicket/trunk/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java?rev=1131487&r1=1131486&r2=1131487&view=diff
==============================================================================
--- 
wicket/trunk/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java 
(original)
+++ 
wicket/trunk/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java 
Sat Jun  4 20:15:14 2011
@@ -125,7 +125,7 @@ public abstract class MarkupContainer ex
         *             Thrown if a child with the same id is replaced by the 
add operation.
         * @return This
         */
-       public MarkupContainer add(final Component... childs)
+       public final MarkupContainer add(final Component... childs)
        {
                for (Component child : childs)
                {


Reply via email to