commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "E (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LANG-905) Compare between arrays
Date Thu, 01 Aug 2013 19:35:48 GMT
E created LANG-905:
----------------------

             Summary: 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];
		o1[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

Mime
View raw message