GitHub user PBGraff opened a pull request:
https://github.com/apache/tinkerpop/pull/770
TINKERPOP-1862 TinkerMessenger proper handling of Direction.BOTH
This PR presents a fix for `TinkerMessenger` that handled `Direction.BOTH`
by identifying the `Vertex` that is not the one receiving the message. In the
case of self-loops, the same `Vertex` is still returned so these are handled
properly.
Note that self-loops cause messages to be sent/received twice since the
`Edge` is both `IN` and `OUT`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/PBGraff/tinkerpop TINKERPOP-1862
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tinkerpop/pull/770.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 #770
----
commit 70b74de41a288ea27f0cc6b89cba57d07c3bc3d0
Author: Graff, Philip B <philip.graff@...>
Date: 2018-01-04T18:27:44Z
TinkerMessenger proper handling of Direction.BOTH
----
---