We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ac665b commit ee20413Copy full SHA for ee20413
spring-core/src/main/java/org/springframework/core/annotation/MergedAnnotations.java
@@ -111,7 +111,7 @@
111
* mergedAnnotations.get(ExampleAnnotation.class).getString("value");
112
*
113
* // get all meta-annotations but no directly present annotations
114
- * mergedAnnotations.stream().anyMatch(MergedAnnotation::isMetaPresent);
+ * mergedAnnotations.stream().filter(MergedAnnotation::isMetaPresent);
115
116
* // get all ExampleAnnotation declarations (including any meta-annotations) and
117
* // print the merged "value" attributes
0 commit comments