Author: rareddy
Date: 2010-09-24 16:28:46 -0400 (Fri, 24 Sep 2010)
New Revision: 2608
Modified:
trunk/engine/src/main/java/org/teiid/cache/DefaultCache.java
Log:
TEIID-1276
Modified: trunk/engine/src/main/java/org/teiid/cache/DefaultCache.java
===================================================================
--- trunk/engine/src/main/java/org/teiid/cache/DefaultCache.java 2010-09-24 20:20:29 UTC
(rev 2607)
+++ trunk/engine/src/main/java/org/teiid/cache/DefaultCache.java 2010-09-24 20:28:46 UTC
(rev 2608)
@@ -220,7 +220,9 @@
@Override
public Set<K> keys() {
- return map.keySet();
+ synchronized(this.map) {
+ return new HashSet<K>(map.keySet());
+ }
}
}
\ No newline at end of file
Show replies by date