Skip to content

Commit 1b0714a

Browse files
committed
Fix JDK8 compatibility issue
1 parent 05e89d8 commit 1b0714a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clickhouse-jdbc/src/test/java/ru/yandex/clickhouse/util/UtilsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public void testVarInt() {
3939
buffer = ByteBuffer.allocate(8);
4040
Utils.writeVarInt(i, buffer);
4141
Utils.writeVarInt(0 - i, buffer);
42-
buffer = (ByteBuffer) ((Buffer) buffer.flip());
42+
buffer = (ByteBuffer) ((Buffer) buffer).flip();
4343
assertEquals(Utils.readVarInt(buffer), i);
4444
assertEquals(Utils.readVarInt(buffer), 0 - i);
4545
}

0 commit comments

Comments
 (0)