You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by pr...@apache.org on 2021/11/29 11:18:09 UTC
[ranger] branch master updated: RANGER-3276 Remove duplicate code from buildks
This is an automated email from the ASF dual-hosted git repository.
pradeep pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git
The following commit(s) were added to refs/heads/master by this push:
new 3045345 RANGER-3276 Remove duplicate code from buildks
3045345 is described below
commit 3045345f3dea4fa44cc522df7b171d6fb3bd5303
Author: Chia-Ping Tsai <ch...@gmail.com>
AuthorDate: Tue May 4 22:05:09 2021 +0800
RANGER-3276 Remove duplicate code from buildks
Signed-off-by: pradeep <pr...@apache.org>
---
.../src/main/java/org/apache/ranger/credentialapi/buildks.java | 7 -------
1 file changed, 7 deletions(-)
diff --git a/credentialbuilder/src/main/java/org/apache/ranger/credentialapi/buildks.java b/credentialbuilder/src/main/java/org/apache/ranger/credentialapi/buildks.java
index 5d196d9..4ee7080 100644
--- a/credentialbuilder/src/main/java/org/apache/ranger/credentialapi/buildks.java
+++ b/credentialbuilder/src/main/java/org/apache/ranger/credentialapi/buildks.java
@@ -337,13 +337,6 @@ public class buildks {
}
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+"'");
displaySyntax("create", storeType);