From acc8c895bfc4bc2a16f515f811e3b1ca787bb58a Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Mon, 31 Aug 2015 15:54:46 +0200 Subject: [PATCH] Make AnnotationUtils Java 6 source compatible --- .../org/springframework/core/annotation/AnnotationUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java b/spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java index d758d28bdf..3a6aaf2975 100644 --- a/spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java +++ b/spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java @@ -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. emptyList() : descriptor.getAttributeAliasNames()); } /**