Details
-
Task
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
API 2.14.2
-
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
- is related to
-
SLING-6350 Incorrect matching in Path class causes MountByFS to fail (more than 2 slashes fails)
- Resolved