Polishing MergedAnnotation code

This commit is contained in:
Phillip Webb
2019-05-06 10:08:05 -07:00
committed by Juergen Hoeller
parent d4a761abea
commit e11990e63d
2 changed files with 2 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ import org.springframework.lang.Nullable;
* @param <C> the context type
* @param <R> the result type
* @author Phillip Webb
* @since 5.2
* @see AnnotationsScanner
* @see TypeMappedAnnotations
*/

View File

@@ -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
*/