2003/11/30 02:06:32
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:42:28 +0000 (07:42 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 07:42:28 +0000 (07:42 +0000)
darcs-hash:20040130074228-2ba56-046a207e48f3b1dee890e3c3d2b6ebae90606d6c.gz

src/org/xwt/util/BalancedTree.java

index e37e3f8..09e97dc 100644 (file)
@@ -75,10 +75,12 @@ public class BalancedTree {
                 return objects[cached_slot];
             }
         }
-
+        /*
         cached_index = index;
         cached_slot = get(index, root);
         return objects[cached_slot];
+        */
+        return objects[get(index, root)];
     }
 
     /** deletes the object at index, returning the deleted object */