chia7712 commented on code in PR #17507:
URL: https://github.com/apache/kafka/pull/17507#discussion_r1806801518
##########
core/src/test/java/kafka/admin/ConfigCommandTest.java:
##########
@@ -1670,80 +1205,6 @@ private ConfigCommand.ConfigCommandOptions
createOpts(String entityType, Optiona
return new ConfigCommand.ConfigCommandOptions(toArray(optArray,
nameArray, otherArgs));
}
- private void checkEntity(String entityType, Optional<String> entityName,
String expectedEntityName, List<String> otherArgs) {
- ConfigCommand.ConfigCommandOptions opts = createOpts(entityType,
entityName, otherArgs);
- opts.checkArgs();
- ConfigCommand.ConfigEntity entity = ConfigCommand.parseEntity(opts);
Review Comment:
`parseEntity` is unused now, could you please remove it?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]