Skip to content

Commit

Permalink
Bump commons-cli to 1.8.0 (opensearch-project#4366)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Pleskach <[email protected]>
  • Loading branch information
willyborankin authored May 27, 2024
1 parent a8f39be commit 0692496
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ dependencies {
implementation "org.apache.httpcomponents:httpasyncclient:${versions.httpasyncclient}"
implementation "com.google.guava:guava:${guava_version}"
implementation 'org.greenrobot:eventbus-java:3.3.1'
implementation 'commons-cli:commons-cli:1.6.0'
implementation 'commons-cli:commons-cli:1.8.0'
implementation "org.bouncycastle:bcprov-jdk18on:${versions.bouncycastle}"
implementation 'org.ldaptive:ldaptive:1.2.3'
implementation 'com.nimbusds:nimbus-jose-jwt:9.39.1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -450,8 +450,8 @@ public static int execute(final String[] args) throws Exception {
ksAlias = line.getOptionValue("ksalias", ksAlias);
index = line.getOptionValue("i", index);

String enabledCiphersString = line.getOptionValue("ec", null);
String enabledProtocolsString = line.getOptionValue("ep", null);
String enabledCiphersString = line.getOptionValue("ec", (String) null);
String enabledProtocolsString = line.getOptionValue("ep", (String) null);

if (enabledCiphersString != null) {
enabledCiphers = enabledCiphersString.split(",");
Expand Down

0 comments on commit 0692496

Please sign in to comment.