package managers.nodes;

import com.fasterxml.jackson.databind.JsonNode;
import play.libs.F.Promise;


abstract class LabeledNodeWithPropertiesManager extends LabeledNodeManager {

    protected Promise<Boolean> connect(
        JsonNode startNode, JsonNode endNode, String location) {
        return null;
    }

    protected Promise<Boolean> disconnect(
        JsonNode startNode, JsonNode endNode, String location) {
        return null;
    }

}

@@ -286,36 +286,51 @@
 %0A        return 
-null
+Promise.pure(false)
 ;%0A    %7D%0A%0A    pro
@@ -449,12 +449,27 @@
 urn 
-null
+Promise.pure(false)
 ;%0A  

Improve default implementation for `connect` and `disconnect` methods defined in `LabeledNodeWithPropertiesManager` class.