From e11990e63d6d28a840501e234938aa685d188188 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Mon, 6 May 2019 10:08:05 -0700 Subject: [PATCH] Polishing MergedAnnotation code --- .../springframework/core/annotation/AnnotationsProcessor.java | 1 + .../core/annotation/MergedAnnotationSelectors.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-core/src/main/java/org/springframework/core/annotation/AnnotationsProcessor.java b/spring-core/src/main/java/org/springframework/core/annotation/AnnotationsProcessor.java index ba79c04add..abc784691c 100644 --- a/spring-core/src/main/java/org/springframework/core/annotation/AnnotationsProcessor.java +++ b/spring-core/src/main/java/org/springframework/core/annotation/AnnotationsProcessor.java @@ -26,6 +26,7 @@ import org.springframework.lang.Nullable; * @param the context type * @param the result type * @author Phillip Webb + * @since 5.2 * @see AnnotationsScanner * @see TypeMappedAnnotations */ diff --git a/spring-core/src/main/java/org/springframework/core/annotation/MergedAnnotationSelectors.java b/spring-core/src/main/java/org/springframework/core/annotation/MergedAnnotationSelectors.java index 7e46497c3b..decb98c357 100644 --- a/spring-core/src/main/java/org/springframework/core/annotation/MergedAnnotationSelectors.java +++ b/spring-core/src/main/java/org/springframework/core/annotation/MergedAnnotationSelectors.java @@ -49,7 +49,7 @@ public abstract class MergedAnnotationSelectors { } /** - * Select the first directly declared annotation when possible. If not direct + * Select the first directly declared annotation when possible. If no direct * annotations are declared then the earliest annotation is selected. * @return a selector that picks the first directly declared annotation whenever possible */