Author: manik.surtani(a)jboss.com
Date: 2008-07-24 08:37:57 -0400 (Thu, 24 Jul 2008)
New Revision: 6398
Modified:
core/trunk/src/test/java/org/jboss/cache/loader/DummyInMemoryCacheLoader.java
Log:
null chk
Modified: core/trunk/src/test/java/org/jboss/cache/loader/DummyInMemoryCacheLoader.java
===================================================================
---
core/trunk/src/test/java/org/jboss/cache/loader/DummyInMemoryCacheLoader.java 2008-07-24
09:59:21 UTC (rev 6397)
+++
core/trunk/src/test/java/org/jboss/cache/loader/DummyInMemoryCacheLoader.java 2008-07-24
12:37:57 UTC (rev 6398)
@@ -152,7 +152,7 @@
public boolean exists(Fqn name) throws Exception
{
debugMessage("Performing exists() on " + name);
- return getNodesMap().containsKey(name);
+ return getNodesMap().containsKey(name == null ? NULL : name);
}
public Object put(Fqn name, Object key, Object value) throws Exception