Fix major sonar issues 59/15559/1
authorshashikanth <shashikanth.vh@huawei.com>
Tue, 26 Sep 2017 13:24:26 +0000 (18:54 +0530)
committershashikanth <shashikanth.vh@huawei.com>
Tue, 26 Sep 2017 13:24:28 +0000 (18:54 +0530)
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>
bpmn/MSOCommonBPMN/src/main/java/org/openecomp/mso/bpmn/common/adapter/vnf/DeleteVnfNotification.java

index 063f756..651fd1a 100644 (file)
@@ -156,10 +156,10 @@ public class DeleteVnfNotification {
      * @return String type (deleteVnfNotification)\r
      */\r
  \r
-    \r
+    @Override\r
        public String toString() {\r
-       String deleteVnfNotification = "";\r
-       if (exception==null) {\r
+       String deleteVnfNotification;\r
+       if (exception == null) {\r
                deleteVnfNotification = "<ns2:deleteVnfNotification xmlns:ns2=\"http://org.openecomp.mso/vnfNotify\"" + '\n' +\r
                                       "  xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">" + '\n' +\r
                                       "   <messageId>"+messageId+"</messageId>" + '\n' +\r