You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2006/11/24 14:23:08 UTC

svn commit: r478873 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/TreeState.java

Author: weber
Date: Fri Nov 24 05:23:07 2006
New Revision: 478873

URL: http://svn.apache.org/viewvc?view=rev&rev=478873
Log:
expandTo() method for TreeState: fix last commit

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/TreeState.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/TreeState.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/TreeState.java?view=diff&rev=478873&r1=478872&r2=478873
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/TreeState.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/TreeState.java Fri Nov 24 05:23:07 2006
@@ -70,7 +70,7 @@
   }
 
   public void expand(DefaultMutableTreeNode node, int level) {
-    if (level > 0) {   node.getDepth()
+    if (level > 0) {
       if (!expandState.contains(node)) {
         expandState.add(node);
       }