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

index 0b4b738..0e7fa52 100755 (executable)
@@ -54,7 +54,7 @@ public class DatabaseCache {
   public Object get(String key){
     for(int i = 0; i<_cache.size(); i++){
       if( ((Entry)_cache.get(i)).getKey(key).equals(key) )
-          ((Entry)_cache.get(i)).getValue();
+        return ((Entry)_cache.get(i)).getValue();
     }
     return null;
   }