Skip to content

Commit 87dba5a

Browse files
committed
Fix MergedAnnotations javadoc
1 parent 55ac110 commit 87dba5a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,9 @@ public interface MergedAnnotations extends Iterable<MergedAnnotation<Annotation>
138138
<A extends Annotation> boolean isPresent(Class<A> annotationType);
139139

140140
/**
141-
* Determine if the specified annotation is directly present.
142-
* <p>Equivalent to calling {@code get(annotationType).isDirectlyPresent()}.
141+
* Determine if the specified annotation is either directly present or
142+
* meta-present.
143+
* <p>Equivalent to calling {@code get(annotationType).isPresent()}.
143144
* @param annotationType the fully qualified class name of the annotation type
144145
* to check
145146
* @return {@code true} if the annotation is present
@@ -155,9 +156,8 @@ public interface MergedAnnotations extends Iterable<MergedAnnotation<Annotation>
155156
<A extends Annotation> boolean isDirectlyPresent(Class<A> annotationType);
156157

157158
/**
158-
* Determine if the specified annotation is either directly present or
159-
* meta-present.
160-
* <p>Equivalent to calling {@code get(annotationType).isPresent()}.
159+
* Determine if the specified annotation is directly present.
160+
* <p>Equivalent to calling {@code get(annotationType).isDirectlyPresent()}.
161161
* @param annotationType the fully qualified class name of the annotation type
162162
* to check
163163
* @return {@code true} if the annotation is present

0 commit comments

Comments
 (0)