Author: jdonnerstag
Date: Sat Oct 24 08:59:19 2009
New Revision: 829327

URL: http://svn.apache.org/viewvc?rev=829327&view=rev
Log:
changed method signature to support component.visitParents(IFeedback.class, new 
IVisitor<Component>)


Modified:
    
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/Component.java

Modified: 
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/Component.java
URL: 
http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/Component.java?rev=829327&r1=829326&r2=829327&view=diff
==============================================================================
--- 
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/Component.java
 (original)
+++ 
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/Component.java
 Sat Oct 24 08:59:19 2009
@@ -3357,16 +3357,13 @@
         * Traverses all parent components of the given class in this 
container, calling the visitor's
         * visit method at each one.
         * 
-        * @param <C>
-        * 
         * @param c
         *            Class
         * @param visitor
         *            The visitor to call at each parent of the given type
         * @return First non-null value returned by visitor callback
         */
-       public final <C extends Component> Object visitParents(final Class<C> c,
-               final IVisitor<Component> visitor)
+       public final Object visitParents(final Class<?> c, final 
IVisitor<Component> visitor)
        {
                // Start here
                Component current = getParent();


Reply via email to