debugging DatabaseCache
authoridfx <idfx>
Wed, 6 Feb 2002 19:58:23 +0000 (19:58 +0000)
committeridfx <idfx>
Wed, 6 Feb 2002 19:58:23 +0000 (19:58 +0000)
source/mir/storage/DatabaseCache.java

index 68e512d..dd1fcf0 100755 (executable)
@@ -52,8 +52,8 @@ public class DatabaseCache {
   }
   
   public Object get(String key){
+    System.out.println(_cache.size() +" "+ _counter);
     for(int i = 0; i<_cache.size(); i++){
-      System.out.println("test"+((Entry)_cache.get(i)).getKey(key));
       if( ((Entry)_cache.get(i)).getKey(key).equals(key) )
         System.out.println("test2: "+((Entry)_cache.get(i)).getKey(key));
         return ((Entry)_cache.get(i)).getValue();