Fix major sonar issues
[so.git] / 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