diff --git a/config/clients/java/template/config-ClientWriteOptions.java.mustache b/config/clients/java/template/config-ClientWriteOptions.java.mustache index 22ef7643..fd6a5bac 100644 --- a/config/clients/java/template/config-ClientWriteOptions.java.mustache +++ b/config/clients/java/template/config-ClientWriteOptions.java.mustache @@ -43,6 +43,6 @@ public class ClientWriteOptions implements AdditionalHeadersSupplier { } public int getTransactionChunkSize() { - return transactionChunkSize >= 0 ? transactionChunkSize : 1; + return transactionChunkSize > 0 ? transactionChunkSize : 1; } }