[
https://issues.apache.org/jira/browse/LANG-905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13799967#comment-13799967
]
Thomas Neidhart edited comment on LANG-905 at 10/21/13 5:57 AM:
----------------------------------------------------------------
Attached a patch + unit test to fix the problem for 3.2.
was (Author: tn):
Attached a patch + unit test to fix the problem.
> Compare between arrays
> ----------------------
>
> Key: LANG-905
> URL: https://issues.apache.org/jira/browse/LANG-905
> Project: Commons Lang
> Issue Type: Bug
> Reporter: E
> Labels: patch
> Fix For: Review Patch
>
> Attachments: LANG-905.patch
>
>
> when comparing 2 arrays, EqualsBuilder returns true even if they contain
> different elements.
> example:
> Object[] o1 = new Object[1];
> o1[0]="Hello";
>
> Object[] o2 = new Object[1];
> o2[0]="Bye";
>
> System.out.println(EqualsBuilder.reflectionEquals(o1, o2,
> true));
--
This message was sent by Atlassian JIRA
(v6.1#6144)