[
https://issues.apache.org/jira/browse/TINKERPOP-1116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15812699#comment-15812699
]
ASF GitHub Bot commented on TINKERPOP-1116:
-------------------------------------------
Github user dkuppitz commented on the issue:
https://github.com/apache/tinkerpop/pull/528
VOTE: +1
> Some anonymous traversal steps can be hard typed.
> -------------------------------------------------
>
> Key: TINKERPOP-1116
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1116
> Project: TinkerPop
> Issue Type: Improvement
> Components: process
> Affects Versions: 3.1.1-incubating
> Reporter: Marko A. Rodriguez
> Assignee: Marko A. Rodriguez
> Labels: breaking
>
> We have lots of this:
> {code}
> public static <A> GraphTraversal<A, Edge> bothE(final String... edgeLabels) {
> return __.<A>start().bothE(edgeLabels);
> }
> {code}
> This should really be:
> {code}
> public static GraphTraversal<Vertex, Edge> bothE(final String... edgeLabels) {
> return __.<Vertex>start().bothE(edgeLabels);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)