diff --git a/spring-core/src/main/java/org/springframework/core/annotation/MergedAnnotations.java b/spring-core/src/main/java/org/springframework/core/annotation/MergedAnnotations.java index 5a26e0c84ac..854c422cec6 100644 --- a/spring-core/src/main/java/org/springframework/core/annotation/MergedAnnotations.java +++ b/spring-core/src/main/java/org/springframework/core/annotation/MergedAnnotations.java @@ -507,7 +507,7 @@ public interface MergedAnnotations extends Iterable * * @since 6.0 */ - static final class Search { + final class Search { static final Predicate> always = clazz -> true;