andreachild commented on code in PR #3212:
URL: https://github.com/apache/tinkerpop/pull/3212#discussion_r2382966418
##########
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/optimization/RepeatUnrollStrategyTest.java:
##########
@@ -178,4 +181,48 @@ public void shouldMaintainGValueState() {
.variablesArePreserved();
}
}
+
+ /**
+ * Applies RepeatUnrollStrategy (with and without LazyBarrierStrategy) to
the given original traversal and verifies the expected optimized traversal.
+ *
+ * @param original the original traversal to apply strategies to
+ * @param expectedOptimized the expected optimized traversal
+ * @param otherStrategies any other strategies that should also be
applied
+ */
+ private static void testRepeatUnrollStrategy(Traversal.Admin<?, ?>
original, Traversal<?, ?> expectedOptimized, Collection<TraversalStrategy<?>>
otherStrategies) {
+ final String repr =
translator.translate(original.getBytecode()).getScript();
+ System.out.println("Original Query: " + repr);
Review Comment:
That shouldn't be there, will remove
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]