summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-07-05 18:58:04 +0530
committerArundathi Patil <arundpil@in.ibm.com>2019-07-05 18:59:07 +0530
commitb73803bb42cf5ecb76f0c38e01e4a7e7a70e9ddf (patch)
treedd672b38d1c363892b27656299db81ec146503d0
parenta2bfcc602e81113347e9919b59e5e917d1ed2542 (diff)
Fixed sonar issue in URApproval.java class
Removed the declaration of thrown CadiException as it is never thrown from the method. Issue-ID: AAF-860 Change-Id: I62af4f65923f3e1eb995118421d68f4f843caeb5 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
-rw-r--r--auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/approvalsets/URApprovalSet.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/approvalsets/URApprovalSet.java b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/approvalsets/URApprovalSet.java
index bf77b77b..91006c41 100644
--- a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/approvalsets/URApprovalSet.java
+++ b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/approvalsets/URApprovalSet.java
@@ -123,7 +123,7 @@ public class URApprovalSet extends ApprovalSet {
fdd.target_key = key;
}
- private ApprovalDAO.Data newApproval(UserRoleDAO.Data urdd) throws CadiException {
+ private ApprovalDAO.Data newApproval(UserRoleDAO.Data urdd) {
ApprovalDAO.Data add = new ApprovalDAO.Data();
add.id = Chrono.dateToUUID(System.currentTimeMillis());
add.ticket = fdd.id;