GitHub user okram opened a pull request:

    https://github.com/apache/tinkerpop/pull/472

    TINKERPOP-1508: Add choose(predicate,trueTraversal)

    https://issues.apache.org/jira/browse/TINKERPOP-1508
    
    Added `GraphTraversal.choose(predicate,traversal)` and 
`GraphTraversal.choose(traversal,traversal)`. These are implemented as 
`choose(traversal,identity())`. Up to this point, `choose()` has been 
if/then/else-semantics and now with addition, we have if/then-semantics.
    
    VOTE +1

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/tinkerpop TINKERPOP-1508

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tinkerpop/pull/472.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #472
    
----
commit 659865bdb1a5e2db9e01847eb641101cab3d090a
Author: Marko A. Rodriguez <okramma...@gmail.com>
Date:   2016-10-31T19:23:42Z

    added choose(predicate,traversal) which is a map to 
choose(predicate,traversal,identity()) and gives us if/then-semantics instead 
of always requiring if/then/else-semantics.

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to