commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1585495 - /commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/MockMemoryCache.java
Date Mon, 07 Apr 2014 14:46:51 GMT
Author: tv
Date: Mon Apr  7 14:46:51 2014
New Revision: 1585495

URL: http://svn.apache.org/r1585495
Log:
Remove Iterator. It is prone to ConcurrentModificationExceptions

Modified:
    commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/MockMemoryCache.java

Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/MockMemoryCache.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/MockMemoryCache.java?rev=1585495&r1=1585494&r2=1585495&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/MockMemoryCache.java
(original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/engine/memory/MockMemoryCache.java
Mon Apr  7 14:46:51 2014
@@ -31,7 +31,6 @@ import org.apache.commons.jcs.engine.beh
 import org.apache.commons.jcs.engine.behavior.ICompositeCacheAttributes;
 import org.apache.commons.jcs.engine.control.CompositeCache;
 import org.apache.commons.jcs.engine.memory.behavior.IMemoryCache;
-import org.apache.commons.jcs.engine.memory.util.MemoryElementDescriptor;
 import org.apache.commons.jcs.engine.stats.behavior.IStats;
 
 /**
@@ -90,13 +89,6 @@ public class MockMemoryCache<K extends S
         return null;
     }
 
-    /** @return null */
-    @Override
-    public Iterator<Map.Entry<K, MemoryElementDescriptor<K, V>>> getIterator()
-    {
-        return null;
-    }
-
     /**
      * @return map.keySet().toArray( */
     @Override



Mime
View raw message