projects
/
mir.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9da3204
)
debugging DatabaseCache
author
idfx
<idfx>
Wed, 6 Feb 2002 19:35:17 +0000
(19:35 +0000)
committer
idfx
<idfx>
Wed, 6 Feb 2002 19:35:17 +0000
(19:35 +0000)
source/mir/storage/DatabaseCache.java
patch
|
blob
|
history
diff --git
a/source/mir/storage/DatabaseCache.java
b/source/mir/storage/DatabaseCache.java
index
0b4b738
..
0e7fa52
100755
(executable)
--- a/
source/mir/storage/DatabaseCache.java
+++ b/
source/mir/storage/DatabaseCache.java
@@
-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;
}