Make Write-interfaces as @FunctionalInterface for lambdas
[simantics/platform.git] / bundles / org.simantics.db.common / src / org / simantics / db / common / request / WriteRequest.java
index 01854247444353e712525763fd4bb2e4b2252f12..cb9460d13a2b49286b8b554683be9a81157122e7 100644 (file)
@@ -93,12 +93,6 @@ public abstract class WriteRequest implements Write, UndoTraits, WriteInterface<
         return provider;
     }
 
-    @Override
-    public UndoTraits getUndoTraits() {
-        return this;
-    }
-
-    
     @Override
     public void request(AsyncRequestProcessor processor, final Procedure<Object> procedure) {
        processor.asyncRequest(this, new Callback<DatabaseException>() {