From 73e01958c4da29ebb814214f04d0fcd5166a94af Mon Sep 17 00:00:00 2001 From: Thugutla sailakshmi Date: Sun, 15 Sep 2019 23:06:53 +0530 Subject: [PATCH] Remove the declaration of thrown exception 'java.io.IOException', as it cannot be thrown from constructor's body Remove the declaration of thrown exception 'java.io.IOException' Issue-ID: AAF-876 Change-Id: I03248a1d359f34a701f31586029d0768083ca591 Signed-off-by: Thugutla sailakshmi --- .../org/onap/aaf/auth/batch/reports/bodies/TwoMonthNotifyCredBody.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/reports/bodies/TwoMonthNotifyCredBody.java b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/reports/bodies/TwoMonthNotifyCredBody.java index 9d699cc3..15d00655 100644 --- a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/reports/bodies/TwoMonthNotifyCredBody.java +++ b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/reports/bodies/TwoMonthNotifyCredBody.java @@ -3,6 +3,7 @@ * org.onap.aaf * =========================================================================== * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) 2019 IBM. * =========================================================================== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,7 +27,7 @@ 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); } -- 2.16.6