Skip to content

Commit ee20413

Browse files
committed
Fix typo in Javadoc for MergedAnnotations
1 parent 7ac665b commit ee20413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
* mergedAnnotations.get(ExampleAnnotation.class).getString("value");
112112
*
113113
* // get all meta-annotations but no directly present annotations
114-
* mergedAnnotations.stream().anyMatch(MergedAnnotation::isMetaPresent);
114+
* mergedAnnotations.stream().filter(MergedAnnotation::isMetaPresent);
115115
*
116116
* // get all ExampleAnnotation declarations (including any meta-annotations) and
117117
* // print the merged "value" attributes

0 commit comments

Comments
 (0)