[ 
https://issues.apache.org/jira/browse/SLING-4784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14577047#comment-14577047
 ] 

Konrad Windszus commented on SLING-4784:
----------------------------------------

I implemented both methods in rev.1684152. Only for array values the equal does 
not return true for the same values, because array comparison only returns true 
if it really is the same reference.

> Implement equals() and hashCode() for ValueMapDecorator
> -------------------------------------------------------
>
>                 Key: SLING-4784
>                 URL: https://issues.apache.org/jira/browse/SLING-4784
>             Project: Sling
>          Issue Type: Bug
>    Affects Versions: API 2.10.0
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Minor
>             Fix For: API 2.10.0
>
>
> Both equals() and hashCode() should be implemented for ValueMapDecorator 
> (which eases the usage of such objects in tests and also might improve the 
> usage in Collections).



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

Reply via email to