This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch tp4Docs
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit b07dcfc167a1f2e3c131498f5e9523f0c40c291a
Author: Cole-Greer <[email protected]>
AuthorDate: Thu Oct 3 09:12:06 2024 -0700

    update anti patterns recipe
---
 docs/src/recipes/anti-patterns.asciidoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/src/recipes/anti-patterns.asciidoc 
b/docs/src/recipes/anti-patterns.asciidoc
index 839764e38b..6fe01c7a08 100644
--- a/docs/src/recipes/anti-patterns.asciidoc
+++ b/docs/src/recipes/anti-patterns.asciidoc
@@ -56,7 +56,7 @@ for (relation in relations) {
           from("p${relation.from}").
           to("p${relation.to}")
 } ; []
-traversalAsString = 
org.apache.tinkerpop.gremlin.process.traversal.translator.GroovyTranslator.of("g").translate(t.bytecode).getScript()
 ; []
+traversalAsString = traversalAsString = t.gremlinLang.getGremlin() ; []
 [ "Traversal String Length": traversalAsString.length()
 , "Traversal Preview": traversalAsString.replaceFirst(/^(.{104}).*(.{64})$/, 
'$1 ... $2') ]
 ----

Reply via email to