Make Write-interfaces as @FunctionalInterface for lambdas
[simantics/platform.git] / bundles / org.simantics.db.common / src / org / simantics / db / common / request / WriteOnlyRequest.java
index 03a4b4211352ff91c2c0ba9ff1b955bcc62842f9..654bf32bf2baf2861bf274d21263cba66e249a25 100644 (file)
@@ -16,7 +16,6 @@ import org.simantics.db.RequestProcessor;
 import org.simantics.db.VirtualGraph;
 import org.simantics.db.exception.DatabaseException;
 import org.simantics.db.procedure.Procedure;
-import org.simantics.db.request.UndoTraits;
 import org.simantics.db.request.WriteInterface;
 import org.simantics.db.request.WriteOnly;
 import org.simantics.utils.datastructures.Callback;
@@ -88,11 +87,6 @@ public abstract class WriteOnlyRequest implements WriteOnly, WriteInterface<Obje
         return provider;
     }
 
-    @Override
-    public UndoTraits getUndoTraits() {
-        return null;
-    }
-
     @Override
     public void request(AsyncRequestProcessor processor, final Procedure<Object> procedure) {
        processor.asyncRequest(this, new Callback<DatabaseException>() {