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

Correctly implement Path.matches

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: API 2.14.2
    • Fix Version/s: API 2.15.0
    • Component/s: API
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: