From eafbcfd38526c0bb62200c334fa09ea4b6cf6c75 Mon Sep 17 00:00:00 2001 From: OnlyWick Date: Wed, 11 Oct 2023 19:01:21 +0800 Subject: [PATCH] Remove redundant static declaration on Search class Closes gh-31381 --- .../org/springframework/core/annotation/MergedAnnotations.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;