From 5a8d9fa0e3f9a195f123274066db36d7c07787d1 Mon Sep 17 00:00:00 2001 From: sharath reddy Date: Mon, 4 Apr 2022 17:58:29 +0530 Subject: Changed the visibility of abstract class constructors to "protected" Issue-ID: CLI-439 report: tested weather-report, execution-list Signed-off-by: sharath reddy Change-Id: I09ba1fa91f1a79817bcbbc274533fc19ded0bd95 --- .../src/main/java/org/onap/cli/fw/error/OnapCommandWarning.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/src/main/java/org/onap/cli/fw/error/OnapCommandWarning.java b/framework/src/main/java/org/onap/cli/fw/error/OnapCommandWarning.java index ccd2cee5..619451e5 100644 --- a/framework/src/main/java/org/onap/cli/fw/error/OnapCommandWarning.java +++ b/framework/src/main/java/org/onap/cli/fw/error/OnapCommandWarning.java @@ -24,15 +24,15 @@ public abstract class OnapCommandWarning extends OnapCommandException { private static final long serialVersionUID = -1833571383961748520L; - public OnapCommandWarning(String errorCode, String errorMessage, long httpStatusCode) { + protected OnapCommandWarning(String errorCode, String errorMessage, long httpStatusCode) { super(errorCode, errorMessage, httpStatusCode); } - public OnapCommandWarning(String errorCode, String errorMessage) { + protected OnapCommandWarning(String errorCode, String errorMessage) { super(errorCode, errorMessage); } - public OnapCommandWarning(String errorCode, String errorMessage, Throwable err) { + protected OnapCommandWarning(String errorCode, String errorMessage, Throwable err) { super(errorCode, errorMessage, err); } } -- cgit 1.2.3-korg