Skip to content

Commit dc168b7

Browse files
author
Paultagoras
committed
Java 8
1 parent 3ec1cf1 commit dc168b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ public static Map<String, String> parseUrlParameters(URL url) {
604604
String path = url.getPath();
605605
path = path.substring(path.indexOf('/') + 1);
606606
LOG.debug("path: {}", path);
607-
if (!path.isBlank()) {
607+
if (!path.trim().isEmpty()) {
608608
params.put("database", path);
609609
} else {
610610
params.put("database", "default");

0 commit comments

Comments
 (0)