Browse Source

Align AnnotationAttributes.toString() with contract in Map

pull/808/head
Sam Brannen 10 years ago
parent
commit
b9e13ea308
  1. 2
      spring-core/src/main/java/org/springframework/core/annotation/AnnotationAttributes.java

2
spring-core/src/main/java/org/springframework/core/annotation/AnnotationAttributes.java

@ -201,7 +201,7 @@ public class AnnotationAttributes extends LinkedHashMap<String, Object> { @@ -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);
}

Loading…
Cancel
Save