Skip to content

Commit 15351da

Browse files
author
Paultagoras
committed
Update ClientConfigProperties.java
1 parent ab78e9b commit 15351da

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/ClientConfigProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public static String commaSeparated(Collection<?> values) {
141141
sb.append(value.toString().replaceAll(",", "\\\\,")).append(",");
142142
}
143143

144-
if (!sb.isEmpty()) {
144+
if (sb.length() > 0) {
145145
sb.setLength(sb.length() - 1);
146146
}
147147
return sb.toString();

0 commit comments

Comments
 (0)