]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.common/src/org/simantics/db/common/procedure/adapter/AsyncSetListenerAdapter.java
More DB ListenerAdapter abstract to force isDisposed implementation
[simantics/platform.git] / bundles / org.simantics.db.common / src / org / simantics / db / common / procedure / adapter / AsyncSetListenerAdapter.java
index 2e8fcf459cdd3b84c5d233c849c3d04381a6f912..44bbfc02a8ff2ef306aa3bdf14a7f20d12a910f5 100644 (file)
@@ -14,7 +14,7 @@ package org.simantics.db.common.procedure.adapter;
 import org.simantics.db.AsyncReadGraph;
 import org.simantics.db.procedure.AsyncSetListener;
 
-public class AsyncSetListenerAdapter<T> implements AsyncSetListener<T> {
+public abstract class AsyncSetListenerAdapter<T> implements AsyncSetListener<T> {
 
     @Override
     public void exception(AsyncReadGraph graph, Throwable t) {
@@ -29,8 +29,6 @@ public class AsyncSetListenerAdapter<T> implements AsyncSetListener<T> {
     }
 
     @Override
-    public boolean isDisposed() {
-        return false;
-    }
+    public abstract boolean isDisposed();
 
 }