You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by ca...@apache.org on 2011/09/01 10:25:21 UTC

svn commit: r1163938 [3/3] - in /incubator/jena/Jena2/IRI/trunk: resources/com/hp/hpl/jena/iri/test/test.xml src/com/hp/hpl/jena/iri/impl/AbsIRIImpl.java

Modified: incubator/jena/Jena2/IRI/trunk/src/com/hp/hpl/jena/iri/impl/AbsIRIImpl.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/IRI/trunk/src/com/hp/hpl/jena/iri/impl/AbsIRIImpl.java?rev=1163938&r1=1163937&r2=1163938&view=diff
==============================================================================
--- incubator/jena/Jena2/IRI/trunk/src/com/hp/hpl/jena/iri/impl/AbsIRIImpl.java (original)
+++ incubator/jena/Jena2/IRI/trunk/src/com/hp/hpl/jena/iri/impl/AbsIRIImpl.java Thu Sep  1 08:25:20 2011
@@ -656,14 +656,14 @@ abstract public class AbsIRIImpl extends
     @Override
     public boolean isRootless() {
         if (!has(SCHEME))
-            return false;
+            return true;
         if (has(AUTHORITY))
-            return false;
+            return true;
         if (path.equals(""))
-            return false;
+            return true;
         if (path.charAt(0) == '/')
-            return false;
-        return true;
+            return true;
+        return false;
     }
 
     abstract String pathRemoveDots();