Fix implicit conversion from array to string

When converting an array to a readable string, use Arrays.toString
for one-dimensional arrays. This function iterate over the contents
of the array and produce human-readable output.

Signed-off-by: Thibault Meyer <meyer.thibault@gmail.com>
This commit is contained in:
Thibault Meyer
2019-04-27 13:06:02 +02:00
parent d3ead5d2f9
commit b89371acd1
@@ -95,7 +95,7 @@ class BindCaptureTypes {
@Override
public String toString() {
return String.valueOf(x);
return Arrays.toString(x);
}
}