Merge branch '2.0.x'
This commit is contained in:
@@ -115,8 +115,10 @@ class PropertyMappingContextCustomizer implements ContextCustomizer {
|
||||
private String getAnnotationsDescription(Set<Class<?>> annotations) {
|
||||
StringBuilder result = new StringBuilder();
|
||||
for (Class<?> annotation : annotations) {
|
||||
result.append((result.length() != 0) ? ", " : "");
|
||||
result.append("@" + ClassUtils.getShortName(annotation));
|
||||
if (result.length() != 0) {
|
||||
result.append(", ");
|
||||
}
|
||||
result.append('@').append(ClassUtils.getShortName(annotation));
|
||||
}
|
||||
result.insert(0, (annotations.size() != 1) ? "annotations " : "annotation ");
|
||||
return result.toString();
|
||||
|
||||
Reference in New Issue
Block a user