Skip to content

Commit 98aeefa

Browse files
committed
used older API to be compatible with j8
1 parent 111a200 commit 98aeefa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clickhouse-jdbc/src/main/java/com/clickhouse/jdbc/ClickHouseDriver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class ClickHouseDriver implements Driver {
4545
public static String frameworksDetected = null;
4646

4747
public static class FrameworksDetection {
48-
private static final List<String> FRAMEWORKS_TO_DETECT = List.of("apache.spark");
48+
private static final List<String> FRAMEWORKS_TO_DETECT = Arrays.asList("apache.spark");
4949
static volatile String frameworksDetected = null;
5050

5151
private FrameworksDetection() {

0 commit comments

Comments
 (0)