Align AnnotationAttributes.toString() with contract in Map

This commit is contained in:
Sam Brannen
2015-05-23 18:25:50 +02:00
parent f380689230
commit b9e13ea308

View File

@@ -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);
}