jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [2/3] jena git commit: Rename variable (it need not be a relative URI string).
Date Thu, 22 Oct 2015 14:34:43 GMT
Rename variable (it need not be a relative URI string).

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

Branch: refs/heads/master
Commit: 5cfe4b7ec40fd96936030b52ec0d3a37e593768f
Parents: 2f34d73
Author: Andy Seaborne <andy@apache.org>
Authored: Thu Oct 22 15:33:50 2015 +0100
Committer: Andy Seaborne <andy@apache.org>
Committed: Thu Oct 22 15:33:50 2015 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/jena/riot/system/IRIResolver.java    | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/5cfe4b7e/jena-arq/src/main/java/org/apache/jena/riot/system/IRIResolver.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/org/apache/jena/riot/system/IRIResolver.java b/jena-arq/src/main/java/org/apache/jena/riot/system/IRIResolver.java
index ffd5cd7..29a21b0 100644
--- a/jena-arq/src/main/java/org/apache/jena/riot/system/IRIResolver.java
+++ b/jena-arq/src/main/java/org/apache/jena/riot/system/IRIResolver.java
@@ -232,12 +232,13 @@ public abstract class IRIResolver
     /**
      * Resolve a URI against a base. If baseStr is a relative file IRI
      * then it is first resolved against the current working directory.
+     * If it is an absolute URI, it is normalized.
      * 
-     * @param relStr
+     * @param uriStr
      * @return String An absolute URI
      */
-    static public String resolveStringSilent(String relStr) throws RiotException {
-        return globalResolver.resolveSilent(relStr).toString() ;
+    static public String resolveStringSilent(String uriStr) throws RiotException {
+        return globalResolver.resolveSilent(uriStr).toString() ;
     }
 
     /**


Mime
View raw message