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

E updated LANG-905:
-------------------

    Description: 
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));



  was:
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];
                o1[0]="Bye";
                
                System.out.println(EqualsBuilder.reflectionEquals(o1, o2, 
true));



    
> Compare between arrays
> ----------------------
>
>                 Key: LANG-905
>                 URL: https://issues.apache.org/jira/browse/LANG-905
>             Project: Commons Lang
>          Issue Type: Bug
>            Reporter: E
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to