Skip to content

Commit 9728f7e

Browse files
committed
Minor refactoring
1 parent fe81918 commit 9728f7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/io/confluent/kafka/connect/datagen/DatagenConnectorConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,11 @@ public void ensureValid(String name, Object value) {
219219
if (value == null) {
220220
return;
221221
}
222-
Long longValue = (Long) value;
222+
long longValue = (Long) value;
223223
if (longValue > 0 && longValue <= 60000L) {
224224
return;
225225
}
226-
throw new ConfigException(name + " must be in the range [1, 60,000] ms");
226+
throw new ConfigException(name + " must be in the range [1, 60000] ms");
227227
}
228228
}
229229
}

0 commit comments

Comments
 (0)