mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Make AnnotationUtils Java 6 source compatible
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user