Skip to content

Commit c97a251

Browse files
committed
Cleanup arg processing
1 parent 218b1c6 commit c97a251

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

test/src/main/java/org/bouncycastle/test/est/examples/EnrollExample.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,9 @@ else if (arg.equals("--keyStoreType"))
110110
keyStoreType = ExampleUtils.nextArgAsString("Keystore type", args, t);
111111
t += 1;
112112
}
113-
else if (arg.equals("--keyStoreType"))
114-
{
115-
keyStoreType = ExampleUtils.nextArgAsString("Keystore type", args, t);
116-
t += 1;
117-
}
118113
else if (arg.equals("--auth"))
119114
{
120-
credentials = ExampleUtils.nextArgAsString("Keystore type", args, t).split(":");
115+
credentials = ExampleUtils.nextArgAsString("Authentication credentials", args, t).split(":");
121116
httpAuth = true;
122117
t += 1;
123118
}

0 commit comments

Comments
 (0)