[jboss-cvs] JBossCache/src/org/jboss/cache/notifications ...
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/notifications Notifier.java
Log:
JBCACHE-867 - Fix emptyMap versus null in notify; use correct Node.put()
Revision Changes Path
1.11 +1 -1 JBossCache/src/org/jboss/cache/notifications/Notifier.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Notifier.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/notifications/Notifier.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- Notifier.java 20 Nov 2006 07:33:14 -0000 1.10
+++ Notifier.java 20 Nov 2006 08:51:50 -0000 1.11
@@ -139,7 +139,7 @@
private Map copy(Map data)
{
if (data == null)
- throw new NullPointerException();
+ return null;
return Collections.unmodifiableMap(new HashMap(data));
}
More information about the jboss-cvs-commits
mailing list