Make Write-interfaces as @FunctionalInterface for lambdas
[simantics/platform.git] / bundles / org.simantics.db.common / src / org / simantics / db / common / request / DelayedWriteResultRequest.java
index 94bd4c04ba1cb3cdc9cf8607ba9d7bd55e832040..05bec870e9eb0b7d709614d0619347c3a9d7e4aa 100644 (file)
@@ -17,7 +17,6 @@ import org.simantics.db.VirtualGraph;
 import org.simantics.db.exception.DatabaseException;
 import org.simantics.db.procedure.Procedure;
 import org.simantics.db.request.DelayedWriteResult;
-import org.simantics.db.request.UndoTraits;
 import org.simantics.db.request.WriteInterface;
 import org.simantics.db.request.WriteTraits;
 
@@ -85,11 +84,6 @@ public abstract class DelayedWriteResultRequest<T> implements DelayedWriteResult
     final public VirtualGraph getProvider() {
         return provider;
     }
-    
-    @Override
-    public UndoTraits getUndoTraits() {
-       return null;
-    }
 
     @Override
     public void request(AsyncRequestProcessor processor, final Procedure<T> procedure) {