Author: mcucchiara
Date: Sun Oct 16 07:39:24 2011
New Revision: 1184774

URL: http://svn.apache.org/viewvc?rev=1184774&view=rev
Log:
Removed useless matching cache future

Removed:
    
commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/internal/entry/MatchingCacheEntryFactory.java
    
commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/internal/entry/MatchingClassCacheEntryFactory.java
Modified:
    
commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/internal/ConcurrentHashMapCache.java

Modified: 
commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/internal/ConcurrentHashMapCache.java
URL: 
http://svn.apache.org/viewvc/commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/internal/ConcurrentHashMapCache.java?rev=1184774&r1=1184773&r2=1184774&view=diff
==============================================================================
--- 
commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/internal/ConcurrentHashMapCache.java
 (original)
+++ 
commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/internal/ConcurrentHashMapCache.java
 Sun Oct 16 07:39:24 2011
@@ -22,7 +22,6 @@
 package org.apache.commons.ognl.internal;
 
 import org.apache.commons.ognl.internal.entry.CacheEntryFactory;
-import org.apache.commons.ognl.internal.entry.MatchingCacheEntryFactory;
 
 import java.util.concurrent.ConcurrentHashMap;
 
@@ -72,11 +71,6 @@ public class ConcurrentHashMapCache<K, V
             {
                 return true;
             }
-
-            if ( cacheEntryFactory instanceof MatchingCacheEntryFactory)
-            {
-                return !( (MatchingCacheEntryFactory<K,V>) cacheEntryFactory 
).match( v );
-            }
         }
         return false;
     }


Reply via email to