[
https://issues.apache.org/jira/browse/JENA-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paolo Castagna resolved JENA-7.
-------------------------------
Resolution: Fixed
> IRI isRootless flips true and false.
> ------------------------------------
>
> Key: JENA-7
> URL: https://issues.apache.org/jira/browse/JENA-7
> Project: Jena
> Issue Type: Bug
> Components: IRI
> Reporter: Andy Seaborne
> Assignee: Paolo Castagna
> Priority: Minor
>
> 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;
> }
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira