Skip to content

Commit c996fa9

Browse files
committed
fix build
1 parent 022e2a7 commit c996fa9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -889,15 +889,17 @@ private static void binaryReaderMethodForType(MethodVisitor mv, Class<?> targetT
889889
int convertOpcode = -1;
890890

891891
switch (dataType) {
892-
case Int8, Enum8:
892+
case Int8:
893+
case Enum8:
893894
readerMethod = "readByte";
894895
readerMethodReturnType = Type.getDescriptor(byte.class);
895896
break;
896897
case UInt8:
897898
readerMethod = "readUnsignedByte";
898899
readerMethodReturnType = Type.getDescriptor(short.class);
899900
break;
900-
case Int16, Enum16:
901+
case Int16:
902+
case Enum16:
901903
readerMethod = "readShortLE";
902904
readerMethodReturnType = Type.getDescriptor(short.class);
903905
break;

0 commit comments

Comments
 (0)