Skip to content

Commit acc8c89

Browse files
committed
Make AnnotationUtils Java 6 source compatible
1 parent 8e14520 commit acc8c89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1514,7 +1514,7 @@ static List<String> getAttributeAliasNames(Method attribute) {
15141514
Assert.notNull(attribute, "attribute must not be null");
15151515

15161516
AliasDescriptor descriptor = AliasDescriptor.from(attribute);
1517-
return (descriptor == null ? Collections.emptyList() : descriptor.getAttributeAliasNames());
1517+
return (descriptor == null ? Collections.<String> emptyList() : descriptor.getAttributeAliasNames());
15181518
}
15191519

15201520
/**

0 commit comments

Comments
 (0)