Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-7

IRI isRootless flips true and false.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Done
    • None
    • Jena 2.11.0
    • IRI
    • 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;
      }

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            castagna Paolo Castagna
            andy Andy Seaborne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment