Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Invalid
-
None
-
None
-
None
-
None
-
Reviewed
Description
After HDFS-7324 fix following piece of code become unused. It should be removed.
int i = 0; String cmd = argv[i++]; if ("-ns".equals(cmd)) { if (i == argv.length) { errOut.println("Missing nameservice ID"); printUsage(errOut); return -1; } nameserviceId = argv[i++]; if (i >= argv.length) { errOut.println("Missing command"); printUsage(errOut); return -1; } argv = Arrays.copyOfRange(argv, i, argv.length); }