toString() on array

toString() implementation for arrays does not convert array contents to
String, rather it will print array's type and hash code (defined as
identity hash code). To get string representation of contents of the
array, the array could be for example wrapped into Arrays.asList(), as
Collections produce content representation in their toString().

Change-Id: I08c0c4585c364b02f037c2dbd3eab78840d42de8
Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
1 file changed