You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Philip Graff (JIRA)" <ji...@apache.org> on 2018/10/23 15:43:00 UTC

[jira] [Created] (TINKERPOP-2077) VertexProgram.Builder should have a default create() method with no Graph

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)