From 87dba5a4df3bd4b2e9f0b5c31d9ceda2d81ec94d Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Fri, 26 Apr 2019 13:59:16 -0700 Subject: [PATCH] Fix MergedAnnotations javadoc --- .../core/annotation/MergedAnnotations.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spring-core/src/main/java/org/springframework/core/annotation/MergedAnnotations.java b/spring-core/src/main/java/org/springframework/core/annotation/MergedAnnotations.java index 17022d7055..b840edfb45 100644 --- a/spring-core/src/main/java/org/springframework/core/annotation/MergedAnnotations.java +++ b/spring-core/src/main/java/org/springframework/core/annotation/MergedAnnotations.java @@ -138,8 +138,9 @@ public interface MergedAnnotations extends Iterable boolean isPresent(Class annotationType); /** - * Determine if the specified annotation is directly present. - *

Equivalent to calling {@code get(annotationType).isDirectlyPresent()}. + * Determine if the specified annotation is either directly present or + * meta-present. + *

Equivalent to calling {@code get(annotationType).isPresent()}. * @param annotationType the fully qualified class name of the annotation type * to check * @return {@code true} if the annotation is present @@ -155,9 +156,8 @@ public interface MergedAnnotations extends Iterable boolean isDirectlyPresent(Class annotationType); /** - * Determine if the specified annotation is either directly present or - * meta-present. - *

Equivalent to calling {@code get(annotationType).isPresent()}. + * Determine if the specified annotation is directly present. + *

Equivalent to calling {@code get(annotationType).isDirectlyPresent()}. * @param annotationType the fully qualified class name of the annotation type * to check * @return {@code true} if the annotation is present