HDFS-13311. RBF: TestRouterAdminCLI#testCreateInvalidEntry fails on Windows. Contributed by Inigo Goiri
This commit is contained in:
parent
49f9acae40
commit
827d8593a5
|
@ -525,6 +525,9 @@ public class GenericOptionsParser {
|
||||||
}
|
}
|
||||||
List<String> newArgs = new ArrayList<String>(args.length);
|
List<String> newArgs = new ArrayList<String>(args.length);
|
||||||
for (int i=0; i < args.length; i++) {
|
for (int i=0; i < args.length; i++) {
|
||||||
|
if (args[i] == null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
String prop = null;
|
String prop = null;
|
||||||
if (args[i].equals("-D")) {
|
if (args[i].equals("-D")) {
|
||||||
newArgs.add(args[i]);
|
newArgs.add(args[i]);
|
||||||
|
|
Loading…
Reference in New Issue