[jboss-cvs] JBossCache/src/org/jboss/cache ...
Elias Ross
genman at noderunner.net
Mon Nov 20 13:04:08 EST 2006
User: genman
Date: 06/11/20 13:04:08
Modified: src/org/jboss/cache NodeImpl.java
Log:
JBCACHE-867 -- Node.put((Map)null) is allowed, remove MapCopy where map is modified
Revision Changes Path
1.17 +2 -0 JBossCache/src/org/jboss/cache/NodeImpl.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: NodeImpl.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/NodeImpl.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- NodeImpl.java 20 Nov 2006 12:04:43 -0000 1.16
+++ NodeImpl.java 20 Nov 2006 18:04:08 -0000 1.17
@@ -270,6 +270,8 @@
{
if (cache.getInvocationContext().getOptionOverrides().isBypassInterceptorChain())
{
+ if (data == null)
+ return;
if (log.isTraceEnabled())
log.trace("put " + data.size() + " erase=" + erase);
synchronized (this)
More information about the jboss-cvs-commits
mailing list