File tree 1 file changed +2
-1
lines changed
spring-core/src/main/java/org/springframework/util
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -941,6 +941,7 @@ public static String nullSafeConciseToString(@Nullable Object obj) {
941
941
942
942
/**
943
943
* Derived from {@link org.springframework.beans.BeanUtils#isSimpleValueType}.
944
+ * As of 5.3.28, considering {@code UUID} in addition to the bean-level check.
944
945
*/
945
946
private static boolean isSimpleValueType (Class <?> type ) {
946
947
return (Void .class != type && void .class != type &&
@@ -950,7 +951,7 @@ private static boolean isSimpleValueType(Class<?> type) {
950
951
Number .class .isAssignableFrom (type ) ||
951
952
Date .class .isAssignableFrom (type ) ||
952
953
Temporal .class .isAssignableFrom (type ) ||
953
- UUID .class . isAssignableFrom ( type ) ||
954
+ UUID .class == type ||
954
955
URI .class == type ||
955
956
URL .class == type ||
956
957
Locale .class == type ||
You can’t perform that action at this time.
0 commit comments