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>
*/
package org.onap.aaf.auth.batch.reports.bodies;
-import java.io.IOException;
+
import java.util.GregorianCalendar;
import java.util.List;
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);
}
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);
}