From 88361a4f3e4eedbd7a00163945ebf4faf01d36fc Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Fri, 5 May 2023 15:01:46 +0200 Subject: [PATCH] Polish "Introduce internal constants for implicit bounds in TypeUtils" See gh-30423 --- .../src/main/java/org/springframework/util/TypeUtils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-core/src/main/java/org/springframework/util/TypeUtils.java b/spring-core/src/main/java/org/springframework/util/TypeUtils.java index c9e902bcd2b..70e2e5a857c 100644 --- a/spring-core/src/main/java/org/springframework/util/TypeUtils.java +++ b/spring-core/src/main/java/org/springframework/util/TypeUtils.java @@ -37,6 +37,7 @@ import org.springframework.lang.Nullable; public abstract class TypeUtils { private static final Type[] IMPLICIT_LOWER_BOUNDS = { null }; + private static final Type[] IMPLICIT_UPPER_BOUNDS = { Object.class }; /**