mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
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:
1 file changed
+1
-1
@@ -95,7 +95,7 @@ class BindCaptureTypes {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return String.valueOf(x);
|
return Arrays.toString(x);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user