From e931738085a91208734014294d9806eb775d5229 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Mon, 10 Sep 2018 17:14:23 +0530 Subject: ValetStatus.jsvs: Fixed sonar issue Sonar-link: https://sonar.onap.org/code?id=org.onap.so%3Aso&selected=org.onap.so%3Amso-openstack-adapters%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fso%2Fadapters%2Fvalet%2Fbeans%2FValetStatus.java Issue-ID: SO-1006 Change-Id: Ie7595dbc17f6e86590d153d25afe00fbae670a13 Signed-off-by: Arundathi Patil --- .../java/org/onap/so/adapters/valet/beans/ValetStatus.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'adapters/mso-openstack-adapters/src') diff --git a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/valet/beans/ValetStatus.java b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/valet/beans/ValetStatus.java index 067a6727c1..cc48e95c81 100644 --- a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/valet/beans/ValetStatus.java +++ b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/valet/beans/ValetStatus.java @@ -35,11 +35,7 @@ public class ValetStatus implements Serializable { private String status; @JsonProperty("message") private String message; - - @Override - public String toString() { - return new ToStringBuilder(this).append("status", status).append("message", message).toString(); - } + public ValetStatus() { super(); @@ -51,6 +47,12 @@ public class ValetStatus implements Serializable { this.message = statusMessage; } + + @Override + public String toString() { + return new ToStringBuilder(this).append("status", status).append("message", message).toString(); + } + public String getStatus() { return this.status; } -- cgit 1.2.3-korg