svn commit: r883216 - /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: r883216 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java

doogie-3
Author: doogie
Date: Mon Nov 23 02:52:29 2009
New Revision: 883216

URL: http://svn.apache.org/viewvc?rev=883216&view=rev
Log:
Fix generics in getUtilCacheTableValuesImage.

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=883216&r1=883215&r2=883216&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 Mon Nov 23 02:52:29 2009
@@ -425,8 +425,8 @@
      * Return an image of the values at a time
      * @return {@link List}
      */
-    private static List getUtilCacheTableValuesImage() {
-        List list = new ArrayList(utilCacheTable.size());
+    private static List<UtilCache<?, ?>> getUtilCacheTableValuesImage() {
+        List<UtilCache<?, ?>> list = new ArrayList<UtilCache<?, ?>>(utilCacheTable.size());
         synchronized (utilCacheTable) {
             list.addAll(utilCacheTable.values());
         }