From e70cafc1f657a69253503b2fd42f4be7ea9d0355 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Fri, 19 Jul 2019 14:22:04 +0530 Subject: [PATCH] Sonar fix: CSRMeta.java Fixed sonar issues in this file Issue-ID: AAF-888 Change-Id: I17fa524805f1065a1aef7ae8715adc9668122a43 Signed-off-by: Arundathi Patil --- .../auth-certman/src/main/java/org/onap/aaf/auth/cm/cert/CSRMeta.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/cert/CSRMeta.java b/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/cert/CSRMeta.java index a3740bfe..f67f445f 100644 --- a/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/cert/CSRMeta.java +++ b/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/cert/CSRMeta.java @@ -3,6 +3,8 @@ * 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. @@ -151,7 +153,7 @@ public class CSRMeta { } } - public X509Certificate initialConversationCert(Trans trans) throws IOException, CertificateException, OperatorCreationException { + public X509Certificate initialConversationCert(Trans trans) throws CertificateException, OperatorCreationException { GregorianCalendar gc = new GregorianCalendar(); Date start = gc.getTime(); gc.add(GregorianCalendar.DAY_OF_MONTH,2); -- 2.16.6