aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCommonBPMN/src/main
diff options
context:
space:
mode:
authorshashikanth <shashikanth.vh@huawei.com>2017-09-26 18:54:26 +0530
committershashikanth <shashikanth.vh@huawei.com>2017-09-26 18:54:28 +0530
commitb078fa104454fccff76584f5b119864c5d80cb09 (patch)
treeaf5318e5009566ff9265dbd6ca59a392aafdab94 /bpmn/MSOCommonBPMN/src/main
parent00f6a9c613096e3d4623b8e8486992be727d92da (diff)
Fix major sonar issues
Fix major sonar issues in so module https://sonar.onap.org/component_issues?id=org.openecomp.so%3Aso#resolved=false|severities=MAJOR|rules=squid%3AS1161 Add the "@Override" annotation above this method signature Issue-Id: APPC-186 Change-Id: I0a93e48f921c968ab9a43fc0599ba16d2349db40 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
Diffstat (limited to 'bpmn/MSOCommonBPMN/src/main')
-rw-r--r--bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/adapter/vnf/DeleteVnfNotification.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/adapter/vnf/DeleteVnfNotification.java b/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/adapter/vnf/DeleteVnfNotification.java
index 063f75679c..651fd1aca7 100644
--- a/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/adapter/vnf/DeleteVnfNotification.java
+++ b/bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/adapter/vnf/DeleteVnfNotification.java
@@ -156,10 +156,10 @@ public class DeleteVnfNotification {
* @return String type (deleteVnfNotification)
*/
-
+ @Override
public String toString() {
- String deleteVnfNotification = "";
- if (exception==null) {
+ String deleteVnfNotification;
+ if (exception == null) {
deleteVnfNotification = "<ns2:deleteVnfNotification xmlns:ns2=\"http://org.openecomp.mso/vnfNotify\"" + '\n' +
" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">" + '\n' +
" <messageId>"+messageId+"</messageId>" + '\n' +