From: shashikanth Date: Tue, 26 Sep 2017 13:24:26 +0000 (+0530) Subject: Fix major sonar issues X-Git-Tag: v1.1.0~217^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F59%2F15559%2F1;p=so.git 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 --- 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 = "" + '\n' + " "+messageId+"" + '\n' +