tinkerpop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spmalle...@apache.org
Subject [32/41] tinkerpop git commit: TINKERPOP-1878 Minor code fix
Date Mon, 13 Aug 2018 22:22:21 GMT
TINKERPOP-1878 Minor code fix


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

Branch: refs/heads/master
Commit: f874849f381c8059928de259506613fa13f85421
Parents: e22665b
Author: Stephen Mallette <spmva@genoprime.com>
Authored: Mon Aug 13 13:34:06 2018 -0400
Committer: Stephen Mallette <spmva@genoprime.com>
Committed: Mon Aug 13 14:39:24 2018 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/tinkerpop/gremlin/sparql/Prefixes.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/f874849f/sparql-gremlin/src/main/java/org/apache/tinkerpop/gremlin/sparql/Prefixes.java
----------------------------------------------------------------------
diff --git a/sparql-gremlin/src/main/java/org/apache/tinkerpop/gremlin/sparql/Prefixes.java
b/sparql-gremlin/src/main/java/org/apache/tinkerpop/gremlin/sparql/Prefixes.java
index 32768a7..c2544e7 100644
--- a/sparql-gremlin/src/main/java/org/apache/tinkerpop/gremlin/sparql/Prefixes.java
+++ b/sparql-gremlin/src/main/java/org/apache/tinkerpop/gremlin/sparql/Prefixes.java
@@ -36,7 +36,7 @@ class Prefixes {
     static {
         final StringBuilder builder = new StringBuilder();
         for (final String prefix : PREFIXES) {
-            builder.append("PREFIX ").append(prefix.substring(0, 1)).append(": <").append(getURI(prefix)).
+            builder.append("PREFIX ").append(prefix, 0, 1).append(": <").append(getURI(prefix)).
                     append(">").append(System.lineSeparator());
         }
         PREFIX_DEFINITIONS = builder.toString();


Mime
View raw message