You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by ly...@apache.org on 2022/05/30 19:11:29 UTC

[tinkerpop] branch 3.6-dev updated: Fixing functions in 3.6-dev/master that weren't in 3.5-dev

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

lyndonb pushed a commit to branch 3.6-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/3.6-dev by this push:
     new 2a99b2aa03 Fixing functions in 3.6-dev/master that weren't in 3.5-dev
2a99b2aa03 is described below

commit 2a99b2aa03475f400a16c8558a8c9633fbf21415
Author: Lyndon Bauto <ly...@bitquilltech.com>
AuthorDate: Mon May 30 12:11:13 2022 -0700

    Fixing functions in 3.6-dev/master that weren't in 3.5-dev
---
 gremlin-go/driver/graphTraversal.go       | 10 +++++-----
 gremlin-go/driver/graphTraversalSource.go |  6 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/gremlin-go/driver/graphTraversal.go b/gremlin-go/driver/graphTraversal.go
index 98cd9597ab..4846a3681c 100644
--- a/gremlin-go/driver/graphTraversal.go
+++ b/gremlin-go/driver/graphTraversal.go
@@ -125,7 +125,7 @@ func (g *GraphTraversal) By(args ...interface{}) *GraphTraversal {
 
 // Call adds the call step to the GraphTraversal.
 func (g *GraphTraversal) Call(args ...interface{}) *GraphTraversal {
-	g.bytecode.addStep("call", args...)
+	g.Bytecode.AddStep("call", args...)
 	return g
 }
 
@@ -191,7 +191,7 @@ func (g *GraphTraversal) Drop(args ...interface{}) *GraphTraversal {
 
 // Element adds the element step to the GraphTraversal.
 func (g *GraphTraversal) Element(args ...interface{}) *GraphTraversal {
-	g.bytecode.addStep("element", args...)
+	g.Bytecode.AddStep("element", args...)
 	return g
 }
 
@@ -209,7 +209,7 @@ func (g *GraphTraversal) Emit(args ...interface{}) *GraphTraversal {
 
 // Fail adds the fail step to the GraphTraversal.
 func (g *GraphTraversal) Fail(args ...interface{}) *GraphTraversal {
-	g.bytecode.addStep("fail", args...)
+	g.Bytecode.AddStep("fail", args...)
 	return g
 }
 
@@ -395,13 +395,13 @@ func (g *GraphTraversal) Mean(args ...interface{}) *GraphTraversal {
 
 // MergeE adds the mergeE step to the GraphTraversal.
 func (g *GraphTraversal) MergeE(args ...interface{}) *GraphTraversal {
-	g.bytecode.addStep("mergeE", args...)
+	g.Bytecode.AddStep("mergeE", args...)
 	return g
 }
 
 // MergeV adds the mergeE step to the GraphTraversal.
 func (g *GraphTraversal) MergeV(args ...interface{}) *GraphTraversal {
-	g.bytecode.addStep("mergeV", args...)
+	g.Bytecode.AddStep("mergeV", args...)
 	return g
 }
 
diff --git a/gremlin-go/driver/graphTraversalSource.go b/gremlin-go/driver/graphTraversalSource.go
index 06c960316c..221d4898be 100644
--- a/gremlin-go/driver/graphTraversalSource.go
+++ b/gremlin-go/driver/graphTraversalSource.go
@@ -165,7 +165,7 @@ func (gts *GraphTraversalSource) AddV(args ...interface{}) *GraphTraversal {
 // Call starts the traversal by executing a procedure
 func (gts *GraphTraversalSource) Call(args ...interface{}) *GraphTraversal {
 	traversal := gts.GetGraphTraversal()
-	traversal.bytecode.addStep("call", args...)
+	traversal.Bytecode.AddStep("call", args...)
 	return traversal
 }
 
@@ -186,14 +186,14 @@ func (gts *GraphTraversalSource) Io(args ...interface{}) *GraphTraversal {
 // MergeE uses an upsert-like operation to add an Edge to start the traversal.
 func (gts *GraphTraversalSource) MergeE(args ...interface{}) *GraphTraversal {
 	traversal := gts.GetGraphTraversal()
-	traversal.bytecode.addStep("mergeE", args...)
+	traversal.Bytecode.AddStep("mergeE", args...)
 	return traversal
 }
 
 // MergeV uses an upsert-like operation to add a Vertex to start the traversal.
 func (gts *GraphTraversalSource) MergeV(args ...interface{}) *GraphTraversal {
 	traversal := gts.GetGraphTraversal()
-	traversal.bytecode.addStep("mergeV", args...)
+	traversal.Bytecode.AddStep("mergeV", args...)
 	return traversal
 }