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:23 UTC

[16/18] tinkerpop git commit: bug fix

bug fix


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

Branch: refs/heads/master
Commit: 7e70540e2a15f0f017bd244066925dc96166a6df
Parents: 6f1ed6f
Author: Robert Dale <ro...@gmail.com>
Authored: Mon Aug 22 18:24:10 2016 -0400
Committer: Robert Dale <ro...@gmail.com>
Committed: Mon Aug 22 18:24:10 2016 -0400

----------------------------------------------------------------------
 .../groovy/org/apache/tinkerpop/gremlin/console/Colorizer.groovy   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/7e70540e/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/Colorizer.groovy
----------------------------------------------------------------------
diff --git a/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/Colorizer.groovy b/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/Colorizer.groovy
index 908d0ff..0fee402 100644
--- a/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/Colorizer.groovy
+++ b/gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/Colorizer.groovy
@@ -35,7 +35,7 @@ public class Colorizer {
         Ansi.enabled = true
     }
 
-    public static String render(String color, String text) {
+    public static String render(String color, Object text) {
         if (Ansi.isEnabled() && Preferences.colors) {
             Ansi.ansi().render(String.format("@|%s %s|@", color, text)).toString()
         } else {