Skip to content

Commit

Permalink
RANGER-3276 Remove duplicate code from buildks
Browse files Browse the repository at this point in the history
Signed-off-by: pradeep <pradeep@apache.org>
  • Loading branch information
chia7712 authored and pradeepagrawal8184 committed Nov 29, 2021
1 parent a6583cf commit 3045345
Showing 1 changed file with 0 additions and 7 deletions.
Expand Up @@ -336,13 +336,6 @@ public static boolean isValidCreateCommand(String command,String alias,String va
return false;
}
if(valueOption==null || !"-value".equalsIgnoreCase(valueOption.trim()))
{
System.out.println("Invalid value option switch in credential creation command!!");
System.out.println("Expected:'-value' Found:'"+valueOption+"'");
displaySyntax("create", storeType);
return false;
}
if(valueOption==null || !"-value".equalsIgnoreCase(valueOption.trim()))
{
System.out.println("Invalid value option in credential creation command!!");
System.out.println("Expected:'-value' Found:'"+valueOption+"'");
Expand Down

0 comments on commit 3045345

Please sign in to comment.