Github user hanm commented on a diff in the pull request:
https://github.com/apache/zookeeper/pull/102#discussion_r89356303
--- Diff: src/java/main/org/apache/zookeeper/cli/DeleteCommand.java ---
@@ -56,14 +56,7 @@ public CliCommand parse(String[] cmdArgs) throws
CliParseException {
}
private void retainCompatibility(String[] cmdArgs) throws
CliParseException {
- // delete path [version]
if (args.length > 2) {
- // rewrite to option
- String [] newCmd = new String[4];
--- End diff --
These are dead code. newCmd was declared but not used so it's better to
remove them.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---