Skip to content

Commit a37eb16

Browse files
committed
remove unused code
1 parent 5f92ec9 commit a37eb16

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

client-v2/src/main/java/com/clickhouse/client/api/data_formats/internal/SerializerUtils.java

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,20 +1189,5 @@ public static void writeDateTime64(OutputStream output, Object value, int scale,
11891189

11901190
BinaryStreamUtils.writeInt64(output, ts);
11911191
}
1192-
1193-
public static final Map<Class<?>, Class<?>> PRIMITIVE_2_WRAPPER_CLASS = getPrimitive2WrapperClassMap();
1194-
1195-
private static Map<Class<?>, Class<?>> getPrimitive2WrapperClassMap() {
1196-
Map<Class<?>, Class<?>> map = new HashMap<>();
1197-
map.put(boolean.class, Boolean.class);
1198-
map.put(byte.class, Byte.class);
1199-
map.put(char.class, Character.class);
1200-
map.put(short.class, Short.class);
1201-
map.put(int.class, Integer.class);
1202-
map.put(long.class, Long.class);
1203-
map.put(float.class, Float.class);
1204-
map.put(double.class, Double.class);
1205-
1206-
return map;
1207-
}
1192+
12081193
}

0 commit comments

Comments
 (0)