FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Cleanup arg processing · rootvector2/bc-java@597ec8d · GitHub

Repository navigation

Commit 597ec8d

Browse files
committed
Cleanup arg processing
1 parent 0419e8f commit 597ec8d

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

‎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)

Back | FazBrowse Home | New Git URL