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 2010/03/31 08:02:59 UTC

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

Author: doogie
Date: Wed Mar 31 06:02:59 2010
New Revision: 929389

URL: http://svn.apache.org/viewvc?rev=929389&view=rev
Log:
Change return type of getMaxSize to int, to match the internal variable.

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=929389&r1=929388&r2=929389&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 Mar 31 06:02:59 2010
@@ -453,7 +453,7 @@ public class UtilCache<K, V> implements 
     /** Returns the current maximum number of elements in the cache
      * @return The maximum number of elements in the cache
      */
-    public long getMaxSize() {
+    public int getMaxSize() {
         return maxSize;
     }