diff options
3 files changed, 10 insertions, 8 deletions
diff --git a/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/adapter/vnf/CreateVnfNotification.java b/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/adapter/vnf/CreateVnfNotification.java index 503f9f1b9f..1b5c080045 100644 --- a/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/adapter/vnf/CreateVnfNotification.java +++ b/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/adapter/vnf/CreateVnfNotification.java @@ -325,6 +325,7 @@ public class CreateVnfNotification { } // Not a generated method + @Override public String toString() { StringBuilder out = new StringBuilder(); out.append("<outputs>\n"); @@ -418,23 +419,25 @@ public class CreateVnfNotification { } // Not a generated method + @Override public String toString() { - String entry = ""; - entry = + String entrystr; + entrystr = "<entry>"+ '\n' + " <key>"+key+"</key>" + '\n' + " <value>"+value+"</value>" + '\n' + "</entry>"; - return entry; + return entrystr; } } } - // Not a generated method + // Not a generated method + @Override public String toString() { - String createVnfNotification = ""; + String createVnfNotification; if (exception==null) { createVnfNotification = "<ns2:createVnfNotification xmlns:ns2=\"http://org.openecomp.mso/vnfNotify\"" + '\n' + " xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">" + '\n' + diff --git a/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNMapPluginRootResource.java b/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNMapPluginRootResource.java index 539df0e319..e8e5e47c07 100644 --- a/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNMapPluginRootResource.java +++ b/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNMapPluginRootResource.java @@ -32,7 +32,6 @@ public class URNMapPluginRootResource extends AbstractPluginRootResource {
public URNMapPluginRootResource() {
super(URNMapPlugin.ID);
- //super("");
}
@Path("{engineName}/process-instance")
diff --git a/status-control/src/main/java/org/openecomp/mso/HealthCheckUtils.java b/status-control/src/main/java/org/openecomp/mso/HealthCheckUtils.java index b098a8c852..62ce791f40 100644 --- a/status-control/src/main/java/org/openecomp/mso/HealthCheckUtils.java +++ b/status-control/src/main/java/org/openecomp/mso/HealthCheckUtils.java @@ -39,7 +39,7 @@ import javax.ws.rs.core.Response; public class HealthCheckUtils { private static MsoLogger msoLogger = MsoLogger.getMsoLogger(MsoLogger.Catalog.GENERAL); - private final static String MSO_PROP_TOPOLOGY = "MSO_PROP_TOPOLOGY"; + private static final String MSO_PROP_TOPOLOGY = "MSO_PROP_TOPOLOGY"; private static MsoPropertiesFactory msoPropertiesFactory = new MsoPropertiesFactory(); private static final String CHECK_HTML = "<!DOCTYPE html><html><head><meta charset=\"ISO-8859-1\"><title>Health Check</title></head><body>Application ready</body></html>"; private static final String NOT_FOUND = "<!DOCTYPE html><html><head><meta charset=\"ISO-8859-1\"><title>Application Not Started</title></head><body>Application not started. Properties file missing or invalid or database Connection failed</body></html>"; @@ -289,4 +289,4 @@ public class HealthCheckUtils { return "http://" + ip + ":" + port + url; } } -}
\ No newline at end of file +} |