WrappedResourceProvider.equals is not symmetric 
------------------------------------------------

                 Key: SLING-2202
                 URL: https://issues.apache.org/jira/browse/SLING-2202
             Project: Sling
          Issue Type: Bug
          Components: JCR
            Reporter: Michael Dürig


The equals method of WrappedResourceProvider is not symmetric as mandated by 
its contract:

ResourceProvider rp = ...
WrappedResourceProvider wrp = new WrappedResourceProvider(rp, null);
assertEquals(wrp.equals(rp), rp.equals(wrp));  // FAILS



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to