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/08/26 20:25:11 UTC

[04/18] tinkerpop git commit: fixed some color names

fixed some color names


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

Branch: refs/heads/master
Commit: fb86b1848fb681800b83b731c0d47eb847f60780
Parents: 22dfeff
Author: Robert Dale <ro...@gmail.com>
Authored: Fri Aug 19 14:30:28 2016 -0400
Committer: Robert Dale <ro...@gmail.com>
Committed: Fri Aug 19 14:46:20 2016 -0400

----------------------------------------------------------------------
 .../org/apache/tinkerpop/gremlin/console/Console.groovy      | 8 ++++----
 .../gremlin/console/commands/GremlinSetCommand.groovy        | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/fb86b184/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/Console.groovy
----------------------------------------------------------------------
diff --git a/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/Console.groovy b/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/Console.groovy
index 6eb70cb..e752149 100644
--- a/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/Console.groovy
+++ b/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/Console.groovy
@@ -77,10 +77,10 @@ class Console {
     def gremlinColor = { Preferences.get(PREF_GREMLIN_COLOR, "reset") }
 	
 	public static final String PREF_VERTEX_COLOR = "vertex.color"
-	def vertexColor = { Preferences.get(PREF_GREMLIN_COLOR, "reset") }
+	def vertexColor = { Preferences.get(PREF_VERTEX_COLOR, "reset") }
 	
 	public static final String PREF_EDGE_COLOR = "edge.color"
-	def edgeColor = { Preferences.get(PREF_GREMLIN_COLOR, "reset") }
+	def edgeColor = { Preferences.get(PREF_EDGE_COLOR, "reset") }
 	
 	public static final String PREF_ERROR_COLOR = "error.color"
     def errorColor = { Preferences.get(PREF_ERROR_COLOR, "reset") }
@@ -103,8 +103,8 @@ class Console {
 	public static final String PREF_RESULT_PROMPT_COLOR = "result.prompt.color"
     def resultPromptColor = { Preferences.get(PREF_RESULT_PROMPT_COLOR, "reset") }
     
-	public static final String PREF_EMPTY_RESULT_COLOR = "empty.result.indicator"
-	def emptyResult = { Preferences.get(PREF_EMPTY_RESULT_COLOR, "null") }
+	public static final String PREF_EMPTY_RESULT_IND = "empty.result.indicator"
+	def emptyResult = { Preferences.get(PREF_EMPTY_RESULT_IND, "null") }
 	
 	public static final String PREF_INPUT_PROMPT = "input.prompt"
     def inputPrompt = { Preferences.get(PREF_INPUT_PROMPT, "gremlin>") }

http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/fb86b184/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/commands/GremlinSetCommand.groovy
----------------------------------------------------------------------
diff --git a/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/commands/GremlinSetCommand.groovy b/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/commands/GremlinSetCommand.groovy
index 3e7dcef..297737c 100644
--- a/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/commands/GremlinSetCommand.groovy
+++ b/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/commands/GremlinSetCommand.groovy
@@ -66,7 +66,7 @@ class GremlinSetCommand extends SetCommand {
 			set << Console.PREF_INFO_COLOR			
 			set << Console.PREF_INPUT_PROMPT_COLOR			
 			set << Console.PREF_RESULT_PROMPT_COLOR			
-			set << Console.PREF_EMPTY_RESULT_COLOR			
+			set << Console.PREF_EMPTY_RESULT_IND			
 			set << Console.PREF_INPUT_PROMPT			
 			set << Console.PREF_RESULT_PROMPT
 			set << Console.PREF_EDGE_COLOR