package com.tinkerpop.blueprints.strategy;

import com.tinkerpop.blueprints.Edge;
import com.tinkerpop.blueprints.Vertex;
import org.javatuples.Triplet;

import java.util.function.UnaryOperator;

/**
 * @author Stephen Mallette (http://stephen.genoprime.com)
 */
public interface GraphStrategy {
    public default UnaryOperator<Object[]> getPreAddVertex() {
        return (f) -> f;
    }

    public default UnaryOperator<Vertex> getPostAddVertex() {
        return (f) -> f;
    }

    public default UnaryOperator<Triplet<String, Vertex, Object[]>> getPreAddEdge() {
        return (f) -> f;
    }

    public default UnaryOperator<Edge> getPostAddEdge() {
        return (f) -> f;
    }
}

@@ -363,32 +363,48 @@
      return 
-(f) -%3E f
+UnaryOperator.identity()
 ;%0A    %7D%0A%0A   
@@ -473,32 +473,48 @@
      return 
-(f) -%3E f
+UnaryOperator.identity()
 ;%0A    %7D%0A%0A   
@@ -607,32 +607,48 @@
      return 
-(f) -%3E f
+UnaryOperator.identity()
 ;%0A    %7D%0A%0A   
@@ -721,16 +721,32 @@
 urn 
-(f) -%3E f
+UnaryOperator.identity()
 ;%0A  

Change default implementations in GraphStrategy to use UnaryOperator.identity() instead of f->return f