projects
/
mir.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
debugging DatabaseCache
[mir.git]
/
source
/
mir
/
storage
/
DatabaseCache.java
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;
}