Philip Graff created TINKERPOP-2077:
---------------------------------------

             Summary: VertexProgram.Builder should have a default create() 
method with no Graph
                 Key: TINKERPOP-2077
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2077
             Project: TinkerPop
          Issue Type: Improvement
    Affects Versions: 3.2.10, 3.3.4
            Reporter: Philip Graff
             Fix For: 3.2.10


The VertexProgram.Builder interface has a create(Graph) method, however, the 
Graph is not always needed. This is illustrated by The GraphComputerTest class 
with VertexProgramQ and VertexProgramR that both implement create() methods 
that pass in a null Graph. The Builder should just have this as a default 
method that will then be inherited by the AbstractVertexProgramBuilder and any 
subsequent builders that use the abstract class or interface.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to