Skip to content

Commit 5b77faa

Browse files
authored
Code format in BatchSizeValidator
1 parent 229b00e commit 5b77faa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/simplesteph/kafka/Validators/BatchSizeValidator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ public class BatchSizeValidator implements ConfigDef.Validator {
88
@Override
99
public void ensureValid(String name, Object value) {
1010
Integer batchSize = (Integer) value;
11-
if (!(1 <= batchSize && batchSize <=100)){
11+
if (!(1 <= batchSize && batchSize <= 100)){
1212
throw new ConfigException(name, value, "Batch Size must be a positive integer that's less or equal to 100");
1313
}
1414
}
15-
}
15+
}

0 commit comments

Comments
 (0)