Sonar- AAF AUTH BATCH 95/94495/1
authoranushadasari <danush10@in.ibm.com>
Thu, 29 Aug 2019 07:32:30 +0000 (13:02 +0530)
committeranushadasari <danush10@in.ibm.com>
Thu, 29 Aug 2019 07:32:43 +0000 (13:02 +0530)
Remove this unused import 'java.io.IOException'
Remove the declaration of thrown exception 'java.io.IOException', as it cannot be thrown from constructor's body

Issue-ID: AAF-957
Change-Id: Id61b054edafe1ea1766972339ac7e9146198f125
Signed-off-by: anushadasari <danush10@in.ibm.com>
auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/reports/bodies/NotifyCredBody.java
auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/reports/bodies/OneMonthNotifyCredBody.java
auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/reports/bodies/OneWeekNotifyCredBody.java

index 8747ebf..417d4be 100644 (file)
@@ -26,7 +26,7 @@ import org.onap.aaf.auth.batch.helpers.ExpireRange;
 import org.onap.aaf.cadi.Access;
 
 public class OneMonthNotifyCredBody extends NotifyCredBody {
-    public OneMonthNotifyCredBody(Access access) throws IOException {
+    public OneMonthNotifyCredBody(Access access){
         super(access, ExpireRange.ONE_MONTH);
     }
     
index a1277d5..dae48d8 100644 (file)
@@ -26,7 +26,7 @@ import org.onap.aaf.auth.batch.helpers.ExpireRange;
 import org.onap.aaf.cadi.Access;
 
 public class OneWeekNotifyCredBody extends NotifyCredBody {
-    public OneWeekNotifyCredBody(Access access) throws IOException {
+    public OneWeekNotifyCredBody(Access access){
         super(access, ExpireRange.ONE_WEEK);
     }