Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Done
-
None
-
None
Description
This operations returns true for false and vice versa, give it's name: should be named is "isRooted" or the result sense changed.
@Override
public boolean isRootless() {
if (!has(SCHEME))
return false;
if (has(AUTHORITY))
return false;
if (path.equals(""))
return false;
if (path.charAt(0) == '/')
return false;
return true;
}