You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2016/12/07 07:54:58 UTC

[jira] [Resolved] (SLING-6371) Comparing two globs in Path.matches() does not work

     [ https://issues.apache.org/jira/browse/SLING-6371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz resolved SLING-6371.
----------------------------------------
    Resolution: Fixed

Fixed in revision 1773017, also added a test that failed without the fix

> Comparing two globs in Path.matches() does not work
> ---------------------------------------------------
>
>                 Key: SLING-6371
>                 URL: https://issues.apache.org/jira/browse/SLING-6371
>             Project: Sling
>          Issue Type: Bug
>          Components: API
>    Affects Versions: API 2.15.0
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: API 2.16.2
>
>
> The o.a.s.api.resource.path.Path.matches method uses Pattern.equals to compare regexp pattern but that's not implemented semantically in the Pattern class, so the comparison fails.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)