diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2018-03-12 08:05:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-03-12 08:05:04 +0000 |
commit | 4bd346b4bcebb970160074485e6930a99e9e532e (patch) | |
tree | efc9e683fe3990c5e5b5512351afa9f0ee7ba93e /common | |
parent | a7aee05afbde5c504e3a16a1e58cbeb5642abe17 (diff) | |
parent | 620dd29f016af097ea8428badd1f32d868d6d04c (diff) |
Merge changes I5a320c60,I3fbd868e
* changes:
Remove unnecessary simicolon from all java classes
private is redundant for enum constructors
Diffstat (limited to 'common')
-rw-r--r-- | common/src/main/java/org/openecomp/mso/logger/MsoLogger.java | 12 | ||||
-rw-r--r-- | common/src/main/java/org/openecomp/mso/properties/MsoPropertiesParameters.java | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/common/src/main/java/org/openecomp/mso/logger/MsoLogger.java b/common/src/main/java/org/openecomp/mso/logger/MsoLogger.java index b8c4aed8fa..6588995308 100644 --- a/common/src/main/java/org/openecomp/mso/logger/MsoLogger.java +++ b/common/src/main/java/org/openecomp/mso/logger/MsoLogger.java @@ -98,11 +98,11 @@ public class MsoLogger { public enum Catalog { APIH, BPEL, RA, ASDC, GENERAL - }; + } public enum StatusCode { COMPLETE, ERROR - }; + } public enum ResponseCode { Suc(0), PermissionError(100), DataError(300), DataNotFound(301), BadRequest(302), SchemaError( @@ -115,10 +115,10 @@ public class MsoLogger { return this.value; } - private ResponseCode(int value) { + ResponseCode(int value) { this.value = value; } - }; + } public enum ErrorCode { PermissionError(100), AvailabilityError(200), DataError(300), SchemaError(400), BusinessProcesssError( @@ -130,10 +130,10 @@ public class MsoLogger { return this.value; } - private ErrorCode(int value) { + ErrorCode(int value) { this.value = value; } - }; + } private EELFLogger logger, auditLogger, metricsLogger; private static final String CONFIG_FILE = System.getProperty("jboss.home.dir") + "/mso-config/uuid/uuid_" diff --git a/common/src/main/java/org/openecomp/mso/properties/MsoPropertiesParameters.java b/common/src/main/java/org/openecomp/mso/properties/MsoPropertiesParameters.java index 488bb354ee..b89a5d4791 100644 --- a/common/src/main/java/org/openecomp/mso/properties/MsoPropertiesParameters.java +++ b/common/src/main/java/org/openecomp/mso/properties/MsoPropertiesParameters.java @@ -23,8 +23,8 @@ package org.openecomp.mso.properties; public class MsoPropertiesParameters { - protected enum MsoPropertiesType {JSON_PROP,JAVA_PROP}; - + protected enum MsoPropertiesType {JSON_PROP,JAVA_PROP} + protected MsoPropertiesType msoPropertiesType; protected int refreshCounter; |