This is an automated email from the ASF dual-hosted git repository.
spmallette pushed a commit to branch gvalue-3.7
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/gvalue-3.7 by this push:
new 8a7d051d23 Backported fix from gvalue branch to ensure that the Admin
interface is being used
8a7d051d23 is described below
commit 8a7d051d233baf210ae442378234699863abc161
Author: Stephen Mallette <[email protected]>
AuthorDate: Wed Aug 21 15:47:03 2024 -0400
Backported fix from gvalue branch to ensure that the Admin interface is
being used
---
.../tinkerpop/gremlin/language/grammar/TraversalMethodVisitor.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/grammar/TraversalMethodVisitor.java
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/grammar/TraversalMethodVisitor.java
index 536dd13e55..d9b256dccb 100644
---
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/grammar/TraversalMethodVisitor.java
+++
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/grammar/TraversalMethodVisitor.java
@@ -42,11 +42,11 @@ public class TraversalMethodVisitor extends
TraversalRootVisitor<GraphTraversal>
/**
* This object is used to append the traversal methods.
*/
- private final GraphTraversal graphTraversal;
+ private final GraphTraversal.Admin graphTraversal;
public TraversalMethodVisitor(final GremlinAntlrToJava antlr, final
GraphTraversal graphTraversal) {
super(antlr, graphTraversal);
- this.graphTraversal = graphTraversal;
+ this.graphTraversal = graphTraversal.asAdmin();
}
/**