Author: doogie
Date: Wed Mar 31 06:02:59 2010
New Revision: 929389
URL:
http://svn.apache.org/viewvc?rev=929389&view=revLog:
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;
}