mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-27 01:19:02 +00:00
Align AnnotationAttributes.toString() with contract in Map
This commit is contained in:
+1
-1
@@ -201,7 +201,7 @@ public class AnnotationAttributes extends LinkedHashMap<String, Object> {
|
||||
return "(this Map)";
|
||||
}
|
||||
if (value instanceof Object[]) {
|
||||
return "[" + StringUtils.arrayToCommaDelimitedString((Object[]) value) + "]";
|
||||
return "[" + StringUtils.arrayToDelimitedString((Object[]) value, ", ") + "]";
|
||||
}
|
||||
return String.valueOf(value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user