Use simple class names instead of magix strings

This commit is contained in:
Gary Gregory 2024-06-03 07:41:05 -04:00
parent 9e9d293755
commit 0d1c8b3e80
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ public class ClassUtils {
private static final Map<String, Class<?>> namePrimitiveMap = new HashMap<>();
static {
namePrimitiveMap.put("boolean", Boolean.TYPE);
namePrimitiveMap.put(Boolean.TYPE.getSimpleName(), Boolean.TYPE);
namePrimitiveMap.put("byte", Byte.TYPE);
namePrimitiveMap.put("char", Character.TYPE);
namePrimitiveMap.put("short", Short.TYPE);