svn commit: r943755 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java

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

svn commit: r943755 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java

lektran
Author: lektran
Date: Wed May 12 23:55:24 2010
New Revision: 943755

URL: http://svn.apache.org/viewvc?rev=943755&view=rev
Log:
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() {