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 2016/03/09 22:15:41 UTC

[13/17] incubator-tinkerpop git commit: Fixed minor spelling mistake.

Fixed minor spelling mistake.


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

Branch: refs/heads/TINKERPOP-1096
Commit: 70b8725cc27173a20537f1d1a38e1d2402f25319
Parents: e73b3d0
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Wed Mar 9 15:41:17 2016 -0500
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Wed Mar 9 16:15:01 2016 -0500

----------------------------------------------------------------------
 .../tinkerpop/gremlin/console/commands/RemoteCommand.groovy    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/70b8725c/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/commands/RemoteCommand.groovy
----------------------------------------------------------------------
diff --git a/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/commands/RemoteCommand.groovy b/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/commands/RemoteCommand.groovy
index fec1219..49b4e1e 100644
--- a/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/commands/RemoteCommand.groovy
+++ b/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/commands/RemoteCommand.groovy
@@ -113,7 +113,7 @@ class RemoteCommand extends ComplexCommandSupport {
 
         // the console is in remote evaluation mode.  closing at this point will needs to exit that mode and then
         // kill the remote itself
-        def line = !mediator.localEvaluation ? swapEvalautionMode() : ""
+        def line = !mediator.localEvaluation ? swapEvaluationMode() : ""
 
         def removed = mediator.removeCurrent()
         removed.close()
@@ -123,10 +123,10 @@ class RemoteCommand extends ComplexCommandSupport {
     def Object do_console = {
         if (mediator.remotes.size() == 0) return "Please add a remote first with [connect]"
         if (!mediator.currentRemote().allowRemoteConsole()) return "The ${mediator.currentRemote()} is not compatible with 'connect' - use ':>' instead"
-        return swapEvalautionMode()
+        return swapEvaluationMode()
     }
 
-    private String swapEvalautionMode() {
+    private String swapEvaluationMode() {
         mediator.localEvaluation = !mediator.localEvaluation
         if (mediator.localEvaluation)
             return "Exited remote console - all scripts will now be evaluated locally"