cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmen...@apache.org
Subject svn commit: r616431 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/cache/OSQueryCache.java
Date Tue, 29 Jan 2008 16:17:32 GMT
Author: kmenard
Date: Tue Jan 29 08:17:30 2008
New Revision: 616431

URL: http://svn.apache.org/viewvc?rev=616431&view=rev
Log:
Cache package generification.

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/cache/OSQueryCache.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/cache/OSQueryCache.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/cache/OSQueryCache.java?rev=616431&r1=616430&r2=616431&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/cache/OSQueryCache.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/cache/OSQueryCache.java
Tue Jan 29 08:17:30 2008
@@ -176,10 +176,10 @@
             }
 
             // now check for per-query settings
-            Iterator it = properties.entrySet().iterator();
+            Iterator<Map.Entry<Object,Object>> it = properties.entrySet().iterator();
             while (it.hasNext()) {
 
-                Map.Entry entry = (Map.Entry) it.next();
+                Map.Entry<Object,Object> entry = it.next();
 
                 if (entry.getKey() == null || entry.getValue() == null) {
                     continue;



Mime
View raw message