diff options
author | 2022-04-04 17:58:29 +0530 | |
---|---|---|
committer | 2022-04-04 18:00:30 +0530 | |
commit | 5a8d9fa0e3f9a195f123274066db36d7c07787d1 (patch) | |
tree | 2737d7c45d5f0b100bf461035cc3cb7c59686d3e /framework/src | |
parent | 92fc83e29f8ddf853555471ac4889342d89286cc (diff) |
Changed the visibility of abstract class constructors to "protected"
Issue-ID: CLI-439
report: tested weather-report, execution-list
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I09ba1fa91f1a79817bcbbc274533fc19ded0bd95
Diffstat (limited to 'framework/src')
-rw-r--r-- | framework/src/main/java/org/onap/cli/fw/error/OnapCommandWarning.java | 6 |
1 files 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); } } |