You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2009/10/08 21:38:29 UTC

svn commit: r823289 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java

Author: doogie
Date: Thu Oct  8 19:38:29 2009
New Revision: 823289

URL: http://svn.apache.org/viewvc?rev=823289&view=rev
Log:
Remove protected method, that isn't used.

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java?rev=823289&r1=823288&r2=823289&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java Thu Oct  8 19:38:29 2009
@@ -2553,17 +2553,6 @@
         }
     }
 
-    protected void clearCacheValues(UtilCache cache, String entityName, EntityCondition condition) {
-        Iterator iterator = cache.cacheLineTable.values().iterator();
-        while (iterator.hasNext()) {
-            CacheLine line = (CacheLine) iterator.next();
-            GenericValue value = (GenericValue) line.getValue();
-            if (value != null && value.getEntityName().equals(entityName) && condition.entityMatches(value)) {
-                iterator.remove();
-            }
-        }
-    }
-
     /* (non-Javadoc)
      * @see org.ofbiz.entity.Delegator#clearCacheLineByCondition(java.lang.String, org.ofbiz.entity.condition.EntityCondition)
      */