Author: lektran
Date: Wed May 12 23:59:56 2010
New Revision: 943756
URL:
http://svn.apache.org/viewvc?rev=943756&view=revLog:
Backported from trunk r943755:
Fix bug in UtilCache, setSizeLimit(int) had no effect
Modified:
ofbiz/branches/release10.04/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java
Modified: ofbiz/branches/release10.04/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release10.04/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java?rev=943756&r1=943755&r2=943756&view=diff==============================================================================
--- ofbiz/branches/release10.04/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java (original)
+++ ofbiz/branches/release10.04/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java Wed May 12 23:59:56 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() {