Author: ivaynberg Date: Fri Aug 27 05:32:15 2010 New Revision: 990022 URL: http://svn.apache.org/viewvc?rev=990022&view=rev Log:
Issue: WICKET-1949 Modified: wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/tree/AbstractTree.java wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/tree/BaseTree.java Modified: wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/tree/AbstractTree.java URL: http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/tree/AbstractTree.java?rev=990022&r1=990021&r2=990022&view=diff ============================================================================== --- wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/tree/AbstractTree.java (original) +++ wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/tree/AbstractTree.java Fri Aug 27 05:32:15 2010 @@ -476,7 +476,7 @@ public abstract class AbstractTree exten * @param model * The tree model */ - public AbstractTree(String id, IModel<TreeModel> model) + public AbstractTree(String id, IModel<? extends TreeModel> model) { super(id, model); init(); Modified: wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/tree/BaseTree.java URL: http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/tree/BaseTree.java?rev=990022&r1=990021&r2=990022&view=diff ============================================================================== --- wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/tree/BaseTree.java (original) +++ wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/tree/BaseTree.java Fri Aug 27 05:32:15 2010 @@ -62,7 +62,7 @@ public abstract class BaseTree extends A * @param id * @param model */ - public BaseTree(String id, IModel<TreeModel> model) + public BaseTree(String id, IModel<? extends TreeModel> model) { super(id, model); }