diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2018-04-25 12:25:53 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2018-04-25 12:25:53 +0530 |
commit | 4be5701ee1857037ab42bcfc84d9af48d9ae36bf (patch) | |
tree | df41546bef457f7b71e7adc058c5587901f6da87 /framework/src/main/java/org/onap | |
parent | ff53af5d866ad05c37f8367049f52f0b3ba7bb1c (diff) |
Following java coding for instance var
Issue-ID: CLI-100
Change-Id: I3beffd15835e7cac7a4aa0a36288cae963e366d2
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'framework/src/main/java/org/onap')
-rw-r--r-- | framework/src/main/java/org/onap/cli/fw/error/OnapCommandException.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/framework/src/main/java/org/onap/cli/fw/error/OnapCommandException.java b/framework/src/main/java/org/onap/cli/fw/error/OnapCommandException.java index 5dffde5c..e83f8574 100644 --- a/framework/src/main/java/org/onap/cli/fw/error/OnapCommandException.java +++ b/framework/src/main/java/org/onap/cli/fw/error/OnapCommandException.java @@ -42,7 +42,7 @@ public class OnapCommandException extends Exception { private static final long serialVersionUID = 2833124031431731711L; - private static Logger LOG = LoggerFactory.getLogger(OnapCommandException.class); + private static final Logger log = LoggerFactory.getLogger(OnapCommandException.class); /* * Command Error Code @@ -98,22 +98,22 @@ public class OnapCommandException extends Exception { public OnapCommandException(String errorCode, String errorMessage, Throwable e) { this(errorCode, errorMessage + ", " + e.getMessage()); - LOG.error(this.getMessage(), e); + log.error(this.getMessage(), e); } public OnapCommandException(String errorCode, String errorMessage, Throwable e, long httpStatusCode) { this(errorCode, errorMessage + ", " + e.getMessage(), httpStatusCode); - LOG.error(this.getMessage(), e); + log.error(this.getMessage(), e); } public OnapCommandException(String errorCode, Throwable e, long httpStatusCode) { this(errorCode, e.getMessage(), httpStatusCode); - LOG.error(this.getMessage(), e); + log.error(this.getMessage(), e); } public OnapCommandException(String errorCode, Throwable e) { this(errorCode, e.getMessage(), -1); - LOG.error(this.getMessage(), e); + log.error(this.getMessage(), e); } public String getErrorCode() { |