Sonar Fix-AAF-968 70/95470/1
authorArundathi Patil <arundpil@in.ibm.com>
Wed, 11 Sep 2019 07:47:49 +0000 (13:17 +0530)
committerArundathi Patil <arundpil@in.ibm.com>
Wed, 11 Sep 2019 07:47:54 +0000 (13:17 +0530)
TwoMonthNotifyCredBody, TwoWeekNotifyCredBody- Fixed sonar issues across
this file

Issue-ID: AAF-968
Change-Id: I745d107c675e8b8a9858c7ff74a48b7e41e9205f
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/reports/bodies/TwoMonthNotifyCredBody.java
auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/reports/bodies/TwoWeeksNotifyCredBody.java

index 9d699cc..7d1157c 100644 (file)
  */
 package org.onap.aaf.auth.batch.reports.bodies;
 
-import java.io.IOException;
 
 import org.onap.aaf.auth.batch.helpers.ExpireRange;
 import org.onap.aaf.cadi.Access;
 
 public class TwoMonthNotifyCredBody extends NotifyCredBody {
-    public TwoMonthNotifyCredBody(Access access) throws IOException {
+    public TwoMonthNotifyCredBody(Access access) {
         super(access, ExpireRange.TWO_MONTH);
     }
     
index 77062f3..44aee67 100644 (file)
  */
 package org.onap.aaf.auth.batch.reports.bodies;
 
-import java.io.IOException;
-
 import org.onap.aaf.auth.batch.helpers.ExpireRange;
 import org.onap.aaf.cadi.Access;
 
 public class TwoWeeksNotifyCredBody extends NotifyCredBody {
-    public TwoWeeksNotifyCredBody(Access access) throws IOException {
+    public TwoWeeksNotifyCredBody(Access access) {
         super(access, ExpireRange.TWO_WEEK);
     }