[jboss-cvs] JBossCache/src/org/jboss/cache/util ...
Elias Ross
genman at noderunner.net
Mon Nov 20 03:51:50 EST 2006
User: genman
Date: 06/11/20 03:51:50
Modified: src/org/jboss/cache/util MapCopy.java
Log:
JBCACHE-867 - Fix emptyMap versus null in notify; use correct Node.put()
Revision Changes Path
1.2 +133 -133 JBossCache/src/org/jboss/cache/util/MapCopy.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: MapCopy.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/util/MapCopy.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- MapCopy.java 20 Nov 2006 07:33:14 -0000 1.1
+++ MapCopy.java 20 Nov 2006 08:51:50 -0000 1.2
@@ -27,7 +27,7 @@
{
data = new Map.Entry[m.size()];
int i = 0;
- for (Map.Entry<K, V> me : (Set<Map.Entry>) m.entrySet())
+ for (Map.Entry<K, V> me : (Set<Map.Entry<K, V>>) m.entrySet())
{
data[i++] = new SimpleEntry<K, V>(me);
}
More information about the jboss-cvs-commits
mailing list