Fix typo in Javadoc for MergedAnnotations

This commit is contained in:
Sam Brannen
2019-08-01 23:14:35 +02:00
parent 7ac665b18e
commit ee2041388b

View File

@@ -111,7 +111,7 @@ import org.springframework.lang.Nullable;
* mergedAnnotations.get(ExampleAnnotation.class).getString("value");
*
* // get all meta-annotations but no directly present annotations
* mergedAnnotations.stream().anyMatch(MergedAnnotation::isMetaPresent);
* mergedAnnotations.stream().filter(MergedAnnotation::isMetaPresent);
*
* // get all ExampleAnnotation declarations (including any meta-annotations) and
* // print the merged "value" attributes