Author: lektran
Date: Wed May 12 23:55:24 2010
New Revision: 943755
URL:
http://svn.apache.org/viewvc?rev=943755&view=revLog:
Fix bug in UtilCache, setSizeLimit(int) had no effect
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java?rev=943755&r1=943754&r2=943755&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java Wed May 12 23:55:24 2010
@@ -699,7 +699,7 @@ public class UtilCache<K, V> implements
}
public void setSizeLimit(int newSizeLimit) {
- this.sizeLimit = sizeLimit;
+ this.sizeLimit = newSizeLimit;
}
public int getSizeLimit() {