summaryrefslogtreecommitdiffstats
path: root/adapters/mso-openstack-adapters/src
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2018-09-10 17:14:23 +0530
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>2018-09-10 17:15:59 +0530
commite931738085a91208734014294d9806eb775d5229 (patch)
tree6d966b784c8d82c237cbf601f7fe1f8ef66ae644 /adapters/mso-openstack-adapters/src
parent59002804ca23f60b7a2c4ab837cb08a263a8afb5 (diff)
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 <arundpil@in.ibm.com>
Diffstat (limited to 'adapters/mso-openstack-adapters/src')
-rw-r--r--adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/valet/beans/ValetStatus.java12
1 files changed, 7 insertions, 5 deletions
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;
}