Skip to content

Commit e11990e

Browse files
philwebbjhoeller
authored andcommitted
Polishing MergedAnnotation code
1 parent d4a761a commit e11990e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* @param <C> the context type
2727
* @param <R> the result type
2828
* @author Phillip Webb
29+
* @since 5.2
2930
* @see AnnotationsScanner
3031
* @see TypeMappedAnnotations
3132
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public static <A extends Annotation> MergedAnnotationSelector<A> nearest() {
4949
}
5050

5151
/**
52-
* Select the first directly declared annotation when possible. If not direct
52+
* Select the first directly declared annotation when possible. If no direct
5353
* annotations are declared then the earliest annotation is selected.
5454
* @return a selector that picks the first directly declared annotation whenever possible
5555
*/

0 commit comments

Comments
 (0)