Make AnnotationUtils Java 6 source compatible
This commit is contained in:
parent
8e14520bf5
commit
acc8c895bf
|
|
@ -1514,7 +1514,7 @@ public abstract class AnnotationUtils {
|
||||||
Assert.notNull(attribute, "attribute must not be null");
|
Assert.notNull(attribute, "attribute must not be null");
|
||||||
|
|
||||||
AliasDescriptor descriptor = AliasDescriptor.from(attribute);
|
AliasDescriptor descriptor = AliasDescriptor.from(attribute);
|
||||||
return (descriptor == null ? Collections.emptyList() : descriptor.getAttributeAliasNames());
|
return (descriptor == null ? Collections.<String> emptyList() : descriptor.getAttributeAliasNames());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue