Author: manik.surtani(a)jboss.com
Date: 2009-02-17 13:46:49 -0500 (Tue, 17 Feb 2009)
New Revision: 7712
Modified:
core/branches/flat/src/test/java/org/horizon/loader/dummy/DummyInMemoryCacheStore.java
Log:
Null chk
Modified:
core/branches/flat/src/test/java/org/horizon/loader/dummy/DummyInMemoryCacheStore.java
===================================================================
---
core/branches/flat/src/test/java/org/horizon/loader/dummy/DummyInMemoryCacheStore.java 2009-02-17
18:39:52 UTC (rev 7711)
+++
core/branches/flat/src/test/java/org/horizon/loader/dummy/DummyInMemoryCacheStore.java 2009-02-17
18:46:49 UTC (rev 7712)
@@ -109,7 +109,7 @@
@SuppressWarnings("unchecked")
public void start() {
storeName = config.getStore();
- storeName += "_" + cache.getName();
+ if (cache != null) storeName += "_" + cache.getName();
Map m = new ConcurrentHashMap();
Map existing = stores.putIfAbsent(storeName, m);
store = existing == null ? m : existing;
Show replies by date