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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

doogie-3
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)
      */