Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-6161

Correctly implement Path.matches

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • API 2.14.2
    • API 2.15.0
    • API
    • None

    Description

      With SLING-5909 a new behaviour has been introduced to Path.matches() which supports matches a Path against a glob pattern.
      The attached test only convers a Path object with "/", but it is unclear what the intend of this change actually is - and what the semantics is.
      The javadoc of matches() right now clearly states that the argument should be a path, therefore glob pattern is not supported in that method.
      radu.cotescu Could you please comment on the intended behaviour?

      Attachments

        Issue Links

          Activity

            People

              cziegeler Carsten Ziegeler
              cziegeler Carsten Ziegeler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: