[ 
https://issues.apache.org/jira/browse/TINKERPOP-2077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16660861#comment-16660861
 ] 

ASF GitHub Bot commented on TINKERPOP-2077:
-------------------------------------------

PBGraff opened a new pull request #967: TINKERPOP-2077: Add default create() 
method to VertexProgram.Builder
URL: https://github.com/apache/tinkerpop/pull/967
 
 
   Adds a default create() method to the VertexProgram.Builder so that users 
don't need to specify null when no Graph is needed.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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.3.4, 3.2.10
>            Reporter: Philip Graff
>            Priority: Minor
>             Fix For: 3.2.10
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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