]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.db.tests/src/org/simantics/db/tests/api/support/clusterControl/CachedDirectPredicatesWithNoCluster.java
Made DB ListenerAdapter abstract to force isDisposed implementation
[simantics/platform.git] / tests / org.simantics.db.tests / src / org / simantics / db / tests / api / support / clusterControl / CachedDirectPredicatesWithNoCluster.java
index 19091b51862b5dcc552d70f80d8516d86aed8271..a9698e744f946a3a14daa61fd92bb43d3d61ab2a 100644 (file)
@@ -31,7 +31,12 @@ public class CachedDirectPredicatesWithNoCluster extends ExistingDatabaseTest {
                 return graph.hasStatement(L0.Entity);
             }
             
-        }, new ListenerAdapter<Boolean>());
+        }, new ListenerAdapter<Boolean>() {
+            @Override
+            public boolean isDisposed() {
+                return false;
+            }
+        });
         
         ClusterControl support = getSession().getService(ClusterControl.class);
         support.collectClusters(Integer.MAX_VALUE);