Github user dkuppitz commented on the issue:

    https://github.com/apache/tinkerpop/pull/495
  
    Yea, looks better now. Not sure if we should really keep all the steps in 
`g.V(1).outE('knows').hasLabel('created').more().bla()`. It's like the Java 
compiler would keep stuff within a `if (false) { ... }` block. The static 
analysis already tells us, that nothing will make it through the filter.
    
    You already treat this particular case in a dedicated code block, why not 
remove everything that comes after it and append a `.not(identity())`?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to