From: Thugutla sailakshmi Date: Sun, 15 Sep 2019 17:42:17 +0000 (+0530) Subject: Remove the declaration of thrown exception 'java.io.IOException', as it cannot be... X-Git-Tag: 2.1.17~131^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;ds=sidebyside;h=a5af247dfacb321585c0f0b17f716606d366c077;p=aaf%2Fauthz.git 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 --- 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); }