jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [6/6] jena git commit: Remove surrounding <> from command line argument.
Date Thu, 03 Mar 2016 09:54:46 GMT
Remove surrounding <> from command line argument.

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

Branch: refs/heads/master
Commit: 17a96ba7896a57a5715060c29be33895bfb1ffc9
Parents: 31ce580
Author: Andy Seaborne <andy@apache.org>
Authored: Thu Mar 3 08:30:49 2016 +0000
Committer: Andy Seaborne <andy@apache.org>
Committed: Thu Mar 3 09:54:15 2016 +0000

----------------------------------------------------------------------
 jena-cmds/src/main/java/arq/iri.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/17a96ba7/jena-cmds/src/main/java/arq/iri.java
----------------------------------------------------------------------
diff --git a/jena-cmds/src/main/java/arq/iri.java b/jena-cmds/src/main/java/arq/iri.java
index 2d5232c..4f3cc50 100644
--- a/jena-cmds/src/main/java/arq/iri.java
+++ b/jena-cmds/src/main/java/arq/iri.java
@@ -37,6 +37,9 @@ public class iri
         boolean first = true ;
         for ( String iriStr : args )
         {
+            if ( iriStr.startsWith("<") && iriStr.endsWith(">") )
+                iriStr = iriStr.substring(1, iriStr.length()-1) ;
+            
             if ( ! first )
                 System.out.println() ;
             first = false ;


Mime
View raw message