From 21bb68c5ca6be430f085c120792f055d5aefbd27 Mon Sep 17 00:00:00 2001 From: anushadasari Date: Wed, 21 Aug 2019 12:31:47 +0530 Subject: Remove the declaration of thrown exception Remove the declaration of thrown exception 'org.onap.aaf.misc.env.APIException','java.io.IOException' as it cannot be thrown from constructor's and method body. Change-Id: I84519b6df9998bbbc9203a59cc4470f8ef8b4e0f Issue-ID: AAF-946 Signed-off-by: anushadasari --- .../src/main/java/org/onap/aaf/auth/batch/helpers/BatchDataView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'auth') diff --git a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/BatchDataView.java b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/BatchDataView.java index ab3a49fa..d3209a02 100644 --- a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/BatchDataView.java +++ b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/BatchDataView.java @@ -49,12 +49,12 @@ public class BatchDataView implements DataView { private final CQLBatchLoop cqlBatch; private final Session session; - public BatchDataView(final AuthzTrans trans, final Session session, final boolean dryRun ) throws APIException, IOException { + public BatchDataView(final AuthzTrans trans, final Session session, final boolean dryRun ){ this.session = session; cqlBatch = new CQLBatchLoop(new CQLBatch(trans.info(),session),50,dryRun); } - public Session getSession(AuthzTrans trans) throws APIException, IOException { + public Session getSession(AuthzTrans trans){ return session; } -- cgit 1.2.3-korg