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

kenhuuu pushed a commit to branch master-http-rebased
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/master-http-rebased by this 
push:
     new 3862e9366d Small updates after master rebase CTR.
3862e9366d is described below

commit 3862e9366db1b01ed1a8a52eeec26108508c85de
Author: Ken Hu <[email protected]>
AuthorDate: Mon Jul 8 12:59:08 2024 -0700

    Small updates after master rebase CTR.
    
    Add back CL entry that was reverted and code update from a squashed
    merge commit.
---
 CHANGELOG.asciidoc                                                    | 1 +
 .../org/apache/tinkerpop/gremlin/process/traversal/GremlinLang.java   | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index aa3e3815cf..90b038ad99 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -80,6 +80,7 @@ This release also includes changes from <<release-3-6-7, 
3.6.7>>.
 
 * Deprecated `ltrim()` and `rTrim()` in favor of `l_trim()` and `r_trim` in 
Python.
 * Fixed bug in `onCreate` for `mergeV()` where use of the `Cardinality` 
functions was not properly handled.
+* Fixed multiple concurrent initially requests caused authentication to fail.
 
 ==== Bugs
 
diff --git 
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/GremlinLang.java
 
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/GremlinLang.java
index 08c0b36558..b98fe2fa97 100644
--- 
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/GremlinLang.java
+++ 
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/GremlinLang.java
@@ -197,8 +197,8 @@ public class GremlinLang implements Cloneable, Serializable 
{
             return asParameter(arg);
         }
 
-        // handle all iterables  in similar way
-        if (arg instanceof Iterable || arg instanceof Iterator || arg 
instanceof Object[] || arg.getClass().isArray()) {
+        // handle all iterables in similar way
+        if (arg instanceof List || arg instanceof Object[] || 
arg.getClass().isArray()) {
             return asString(asIterator(arg));
         }
 

Reply via email to