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

PathUtils should use assertions to enable validation instead of system property

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.3
    • commons
    • None

    Description

      Currently PathUtils does potentially expensive validity checks on the arguments passed to its methods. The checks can be disabled by setting a system property.

      We should rather use Java's assertion mechanism to control these checks.

      Attachments

        Activity

          People

            mduerig Michael Dürig
            mduerig Michael Dürig
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: