[ https://issues.apache.org/jira/browse/SLING-6161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-6161. ------------------------------------- Resolution: Fixed Rev 1765240 Added an isPattern() method, clarified the javadoc of the various methods > Should Path.matches support glob pattern as parameter? > ------------------------------------------------------ > > Key: SLING-6161 > URL: https://issues.apache.org/jira/browse/SLING-6161 > Project: Sling > Issue Type: Task > Components: API > Affects Versions: API 2.14.2 > Reporter: Carsten Ziegeler > Assignee: Carsten Ziegeler > Priority: Blocker > Fix For: API 2.15.0 > > > 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? -- This message was sent by Atlassian JIRA (v6.3.4#6332)