Skip to content

Commit c2f5dab

Browse files
committed
Polishing
1 parent 63bf1bf commit c2f5dab

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/MergedAnnotationPredicates.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public static <A extends Annotation> Predicate<MergedAnnotation<A>> firstRunOf(
101101
/**
102102
* Create a new stateful, single use {@link Predicate} that matches
103103
* annotations that are unique based on the extracted key. For example
104-
* {@code MergedAnnotationPredicates.unique(MergedAnnotation::type)} will
104+
* {@code MergedAnnotationPredicates.unique(MergedAnnotation::getType)} will
105105
* match the first time a unique type is encountered.
106106
* @param keyExtractor function used to extract the key used to test for
107107
* uniqueness

spring-core/src/main/java/org/springframework/core/type/AnnotatedTypeMetadata.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public interface AnnotatedTypeMetadata {
4949
* Return annotation details based on the direct annotations of the
5050
* underlying element.
5151
* @return merged annotations based on the direct annotations
52+
* @since 5.2
5253
*/
5354
MergedAnnotations getAnnotations();
5455

0 commit comments

Comments
 (0)