You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2015/04/10 21:54:35 UTC

[1/2] incubator-tinkerpop git commit: Fixes TINKERPOP3-600: invoke{Function|Method} should be varargs

Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/master 5081a2b5d -> ebdfd9198


Fixes TINKERPOP3-600: invoke{Function|Method} should be varargs


Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/908f3821
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/908f3821
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/908f3821

Branch: refs/heads/master
Commit: 908f3821258c769147e626aa7fe65ed296152639
Parents: 7163400
Author: Jim Lloyd <ji...@gmail.com>
Authored: Thu Apr 9 12:45:06 2015 -0700
Committer: Jim Lloyd <ji...@gmail.com>
Committed: Thu Apr 9 12:45:06 2015 -0700

----------------------------------------------------------------------
 .../gremlin/groovy/jsr223/GremlinGroovyScriptEngine.java         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/908f3821/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngine.java
----------------------------------------------------------------------
diff --git a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngine.java b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngine.java
index bbf45ea..af26613 100644
--- a/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngine.java
+++ b/gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngine.java
@@ -334,12 +334,12 @@ public class GremlinGroovyScriptEngine extends GroovyScriptEngineImpl implements
     }
 
     @Override
-    public Object invokeFunction(final String name, final Object args[]) throws ScriptException, NoSuchMethodException {
+    public Object invokeFunction(final String name, final Object... args) throws ScriptException, NoSuchMethodException {
         return invokeImpl(null, name, args);
     }
 
     @Override
-    public Object invokeMethod(final Object thiz, final String name, final Object args[]) throws ScriptException, NoSuchMethodException {
+    public Object invokeMethod(final Object thiz, final String name, final Object... args) throws ScriptException, NoSuchMethodException {
         if (thiz == null) {
             throw new IllegalArgumentException("Script object can not be null");
         } else {


[2/2] incubator-tinkerpop git commit: Merge branch 'TINKERPOP3-600' of https://github.com/RedSeal-co/incubator-tinkerpop

Posted by sp...@apache.org.
Merge branch 'TINKERPOP3-600' of https://github.com/RedSeal-co/incubator-tinkerpop


Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/ebdfd919
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/ebdfd919
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/ebdfd919

Branch: refs/heads/master
Commit: ebdfd9198f3ce102d9b5cc72a37fc10b837cbd36
Parents: 5081a2b 908f382
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Fri Apr 10 15:51:12 2015 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Fri Apr 10 15:51:12 2015 -0400

----------------------------------------------------------------------
 .../gremlin/groovy/jsr223/GremlinGroovyScriptEngine.java         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------