From 64a7a90abe64b132222e66900377f138c9df2cb1 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Wed, 19 Dec 2018 19:11:01 +0000 Subject: Fix checkstyle issues in distribution Some fixes for minor checkstyle issues. Issue-ID: POLICY-1221 Change-Id: I86577f47283a6fa97be25d7550ed9c2d7ec026a9 Signed-off-by: liamfallon (cherry picked from commit 9013b63b082dcc3c7e6a10b52976bcc46ca3f019) --- .../handling/sdc/exceptions/ArtifactDownloadException.java | 9 ++++----- .../handling/sdc/exceptions/ArtifactInstallerException.java | 9 ++++----- .../handling/sdc/exceptions/PssdControllerException.java | 9 ++++----- .../handling/sdc/exceptions/PssdParametersException.java | 9 ++++----- 4 files changed, 16 insertions(+), 20 deletions(-) (limited to 'plugins') diff --git a/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/exceptions/ArtifactDownloadException.java b/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/exceptions/ArtifactDownloadException.java index a021870a..23409ea0 100644 --- a/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/exceptions/ArtifactDownloadException.java +++ b/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/exceptions/ArtifactDownloadException.java @@ -20,7 +20,6 @@ package org.onap.policy.distribution.reception.handling.sdc.exceptions; - /** * Exception during download from Pssd. */ @@ -38,17 +37,17 @@ public class ArtifactDownloadException extends Exception { */ public ArtifactDownloadException(final String message) { super(message); - + } - + /** * Constructor for creating PssdDownloadException using message and exception. * * @param message The message to dump - * @param e the exception that caused this exception to be thrown + * @param ex the exception that caused this exception to be thrown */ public ArtifactDownloadException(final String message, final Exception ex) { super(message, ex); - + } } diff --git a/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/exceptions/ArtifactInstallerException.java b/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/exceptions/ArtifactInstallerException.java index bc60813e..19e711b4 100644 --- a/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/exceptions/ArtifactInstallerException.java +++ b/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/exceptions/ArtifactInstallerException.java @@ -20,7 +20,6 @@ package org.onap.policy.distribution.reception.handling.sdc.exceptions; - /** * Exception during artifact installation. */ @@ -38,17 +37,17 @@ public class ArtifactInstallerException extends Exception { */ public ArtifactInstallerException(final String message) { super(message); - + } - + /** * Constructor for creating ArtifactInstallerException using message and exception. * * @param message The message to dump - * @param e the exception that caused this exception to be thrown + * @param ex the exception that caused this exception to be thrown */ public ArtifactInstallerException(final String message, final Exception ex) { super(message, ex); - + } } diff --git a/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/exceptions/PssdControllerException.java b/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/exceptions/PssdControllerException.java index a2117c63..0dd16d78 100644 --- a/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/exceptions/PssdControllerException.java +++ b/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/exceptions/PssdControllerException.java @@ -20,7 +20,6 @@ package org.onap.policy.distribution.reception.handling.sdc.exceptions; - /** * Exception of the Pssd controller. */ @@ -38,17 +37,17 @@ public class PssdControllerException extends Exception { */ public PssdControllerException(final String message) { super(message); - + } - + /** * Constructor for creating PssdControllerException using message and exception. * * @param message The message to dump - * @param e the exception that caused this exception to be thrown + * @param ex the exception that caused this exception to be thrown */ public PssdControllerException(final String message, final Exception ex) { super(message, ex); - + } } diff --git a/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/exceptions/PssdParametersException.java b/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/exceptions/PssdParametersException.java index 26504c95..e1cdf70e 100644 --- a/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/exceptions/PssdParametersException.java +++ b/plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/exceptions/PssdParametersException.java @@ -20,7 +20,6 @@ package org.onap.policy.distribution.reception.handling.sdc.exceptions; - /** * Exception of the Pssd controller. */ @@ -38,17 +37,17 @@ public class PssdParametersException extends Exception { */ public PssdParametersException(final String message) { super(message); - + } - + /** * Constructor for creating PssdParametersException using message and exception. * * @param message The message to dump - * @param e the exception that caused this exception to be thrown + * @param ex the exception that caused this exception to be thrown */ public PssdParametersException(final String message, final Exception ex) { super(message, ex); - + } } -- cgit 1.2.3-korg