Browse Source

Make AnnotationUtils Java 6 source compatible

pull/868/head
Sam Brannen 9 years ago
parent
commit
acc8c895bf
  1. 2
      spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java

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

@ -1514,7 +1514,7 @@ public abstract class AnnotationUtils { @@ -1514,7 +1514,7 @@ public abstract class AnnotationUtils {
Assert.notNull(attribute, "attribute must not be null");
AliasDescriptor descriptor = AliasDescriptor.from(attribute);
return (descriptor == null ? Collections.emptyList() : descriptor.getAttributeAliasNames());
return (descriptor == null ? Collections.<String> emptyList() : descriptor.getAttributeAliasNames());
}
/**

Loading…
Cancel
Save