Repository: tinkerpop
Updated Branches:
  refs/heads/TINKERPOP-1456 226d7a90a -> 0bbf6a3ef


a loop got fuggled.


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/0bbf6a3e
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/0bbf6a3e
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/0bbf6a3e

Branch: refs/heads/TINKERPOP-1456
Commit: 0bbf6a3efb74dd4ea2e3e4384bd7ab3e22e9b9b3
Parents: 226d7a9
Author: Marko A. Rodriguez <okramma...@gmail.com>
Authored: Wed Sep 21 15:08:39 2016 -0600
Committer: Marko A. Rodriguez <okramma...@gmail.com>
Committed: Wed Sep 21 15:08:39 2016 -0600

----------------------------------------------------------------------
 .../traversal/strategy/decoration/SubgraphStrategy.java      | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/0bbf6a3e/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategy.java
----------------------------------------------------------------------
diff --git 
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategy.java
 
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategy.java
index a49d98a..7551d14 100644
--- 
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategy.java
+++ 
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SubgraphStrategy.java
@@ -318,10 +318,10 @@ public final class SubgraphStrategy extends 
AbstractTraversalStrategy<TraversalS
                     }
                 }
             }
-            // when there is no filter()-wrap, the marked steps exist at the 
same traversal level
-            for (final Step step : traversal.getSteps()) {
-                step.removeLabel(MARKER);
-            }
+        }
+        // when there is no filter()-wrap, the marked steps exist at the same 
traversal level
+        for (final Step step : traversal.getSteps()) {
+            step.removeLabel(MARKER);
         }
     }
 

Reply via email to