summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeshu Kumar M <seshu.kumar.m@huawei.com>2018-03-12 08:05:04 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-12 08:05:04 +0000
commit4bd346b4bcebb970160074485e6930a99e9e532e (patch)
treeefc9e683fe3990c5e5b5512351afa9f0ee7ba93e
parenta7aee05afbde5c504e3a16a1e58cbeb5642abe17 (diff)
parent620dd29f016af097ea8428badd1f32d868d6d04c (diff)
Merge changes I5a320c60,I3fbd868e
* changes: Remove unnecessary simicolon from all java classes private is redundant for enum constructors
-rw-r--r--adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/exceptions/ApplicationException.java2
-rw-r--r--bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/client/policy/entities/PolicyServiceType.java2
-rw-r--r--bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/domain/InventoryType.java2
-rw-r--r--common/src/main/java/org/openecomp/mso/logger/MsoLogger.java12
-rw-r--r--common/src/main/java/org/openecomp/mso/properties/MsoPropertiesParameters.java4
5 files changed, 11 insertions, 11 deletions
diff --git a/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/exceptions/ApplicationException.java b/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/exceptions/ApplicationException.java
index 30d42ae387..039c1604ba 100644
--- a/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/exceptions/ApplicationException.java
+++ b/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/exceptions/ApplicationException.java
@@ -20,7 +20,7 @@
package org.openecomp.mso.adapters.vfc.exceptions;
-import javax.ws.rs.core.Response;;
+import javax.ws.rs.core.Response;
public class ApplicationException extends Exception {
diff --git a/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/client/policy/entities/PolicyServiceType.java b/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/client/policy/entities/PolicyServiceType.java
index b5ab63ce35..01f6738947 100644
--- a/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/client/policy/entities/PolicyServiceType.java
+++ b/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/client/policy/entities/PolicyServiceType.java
@@ -36,7 +36,7 @@ public enum PolicyServiceType {
private final String name;
- private PolicyServiceType(String name) {
+ PolicyServiceType(String name) {
this.name = name;
}
diff --git a/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/domain/InventoryType.java b/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/domain/InventoryType.java
index 653f75cc3a..fbc312e750 100644
--- a/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/domain/InventoryType.java
+++ b/bpmn/MSOCoreBPMN/src/main/java/org/openecomp/mso/bpmn/core/domain/InventoryType.java
@@ -27,7 +27,7 @@ public enum InventoryType{
private String type;
- private InventoryType(String type){
+ InventoryType(String type){
this.type = type;
}
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;