Skip to content

Commit 910f0a5

Browse files
committed
Update a method comment
1 parent ee59b64 commit 910f0a5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/com/michelin/ns4kafka/validation/TopicValidator.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ public class TopicValidator extends ResourceValidator {
5454
public static TopicValidator makeDefault() {
5555
return TopicValidator.builder()
5656
.validationConstraints(Map.of(
57-
"replication.factor",
57+
REPLICATION_FACTOR,
5858
ResourceValidator.Range.between(3, 3),
59-
"partitions",
59+
PARTITIONS,
6060
ResourceValidator.Range.between(3, 6),
6161
"cleanup.policy",
6262
ResourceValidator.ValidList.in("delete", "compact"),
@@ -84,9 +84,9 @@ public static TopicValidator makeDefault() {
8484
public static TopicValidator makeDefaultOneBroker() {
8585
return TopicValidator.builder()
8686
.validationConstraints(Map.of(
87-
"replication.factor",
87+
REPLICATION_FACTOR,
8888
ResourceValidator.Range.between(1, 1),
89-
"partitions",
89+
PARTITIONS,
9090
ResourceValidator.Range.between(3, 6),
9191
"cleanup.policy",
9292
ResourceValidator.ValidList.in("delete", "compact"),

0 commit comments

Comments
 (0)