Marko A. Rodriguez created TINKERPOP-1116:
---------------------------------------------

             Summary: 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


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)

Reply via email to