Hi all,
I've recently found that equals() is not overriden for the array type, it's inherited from Object. Is there a good reason for this? Why not to override it doing the same as Arrays.equals()?
I use
JUnit's assertEquals() method, and it's not overloaded for array types, so assertEquals(Object, Object) is used, and of course it doesn't work properly.
Serge