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 2012/05/03 23:13:15 UTC

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

Author: doogie
Date: Thu May  3 21:13:14 2012
New Revision: 1333620

URL: http://svn.apache.org/viewvc?rev=1333620&view=rev
Log:
OPTIMIZE: Remove andCacheFieldSets from GenericDelegator; this variable
hasn't been used in like forever, man.

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=1333620&r1=1333619&r2=1333620&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/GenericDelegator.java Thu May  3 21:13:14 2012
@@ -104,9 +104,6 @@ public class GenericDelegator implements
 
     protected Cache cache = null;
 
-    /** keeps a list of field key sets used in the by and cache, a Set (of Sets of fieldNames) for each entityName */
-    protected Map<?,?> andCacheFieldSets = FastMap.newInstance();
-
     protected DistributedCacheClear distributedCacheClear = null;
     protected boolean enableJMS = true;
     protected EntityEcaHandler<?> entityEcaHandler = null;
@@ -2770,7 +2767,6 @@ public class GenericDelegator implements
         newDelegator.delegatorBaseName = this.delegatorBaseName;
         newDelegator.delegatorInfo = this.delegatorInfo;
         newDelegator.cache = this.cache;
-        newDelegator.andCacheFieldSets = this.andCacheFieldSets;
         newDelegator.distributedCacheClear = this.distributedCacheClear;
         newDelegator.originalDelegatorName = getOriginalDelegatorName();
         newDelegator.entityEcaHandler = this.entityEcaHandler;