Author: doogie
Date: Sun Nov 29 03:35:07 2009
New Revision: 885188
URL:
http://svn.apache.org/viewvc?rev=885188&view=revLog:
Change return type of size() to int; CacheLineTable.size() already had
an int return, and this change moves this closer to the Map interface.
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=885188&r1=885187&r2=885188&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 Sun Nov 29 03:35:07 2009
@@ -502,7 +502,7 @@
/** Returns the number of elements currently in the cache
* @return The number of elements currently in the cache
*/
- public long size() {
+ public int size() {
return cacheLineTable.size();
}