You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Marko A. Rodriguez (JIRA)" <ji...@apache.org> on 2016/02/02 21:11:39 UTC

[jira] [Created] (TINKERPOP-1116) Some anonymous traversal steps can be hard typed.

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)