CacheConsistencyTestBase: potential NPE in teardown
@@ -53,10 +53,12 @@ public abstract class CacheConsistencyTestBase {
@After
public void after() throws Exception {
+ if (ds != null) {
for (String id : removeMe) {
ds.remove(Collection.NODES, id);
}
ds.dispose();
+ }
fixture.dispose();
}
