We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b55b9c commit e1ba3e7Copy full SHA for e1ba3e7
spring-beans/src/main/java/org/springframework/beans/BeanUtils.java
@@ -84,6 +84,8 @@ public abstract class BeanUtils {
84
values.put(short.class, (short) 0);
85
values.put(int.class, 0);
86
values.put(long.class, (long) 0);
87
+ values.put(float.class, (float) 0);
88
+ values.put(double.class, (double) 0);
89
DEFAULT_TYPE_VALUES = Collections.unmodifiableMap(values);
90
}
91
0 commit comments