Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3045

Incorrect assertion message in PathUtils#isAncestor()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.3.1
    • 1.3.2, 1.4
    • commons
    • None

    Description

      In PathUtils#isAncestor() there is a copy& paste error:

      assert isValid(ancestor) : "Invalid parent path ["+ancestor+"]";
      assert isValid(path) : "Invalid path ["+ancestor+"]";
      

      The second line should be:

      assert isValid(path) : "Invalid path ["+path+"]";
      

      Attachments

        Activity

          People

            mduerig Michael Dürig
            jsedding Julian Sedding
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: