From a5af247dfacb321585c0f0b17f716606d366c077 Mon Sep 17 00:00:00 2001 From: Thugutla sailakshmi Date: Sun, 15 Sep 2019 23:12:17 +0530 Subject: 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: Ie02948cb17bfc7d2e906adc00ae6bd94dcb5e5f3 Signed-off-by: Thugutla sailakshmi --- .../org/onap/aaf/auth/batch/reports/bodies/TwoWeeksNotifyCredBody.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/TwoWeeksNotifyCredBody.java b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/reports/bodies/TwoWeeksNotifyCredBody.java index 77062f38..cfccefa0 100644 --- a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/reports/bodies/TwoWeeksNotifyCredBody.java +++ b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/reports/bodies/TwoWeeksNotifyCredBody.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 TwoWeeksNotifyCredBody extends NotifyCredBody { - public TwoWeeksNotifyCredBody(Access access) throws IOException { + public TwoWeeksNotifyCredBody(Access access) { super(access, ExpireRange.TWO_WEEK); } -- cgit 1.2.3-korg