aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-openstack-adapters
diff options
context:
space:
mode:
authorByung-Woo Jun <byung-woo.jun@ericsson.com>2018-09-10 12:48:23 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-10 12:48:23 +0000
commit18256c29ead252e163fa195cb6c0059673f3aa79 (patch)
tree4155821ce0a635c20d551459263b920ed52cf1ad /adapters/mso-openstack-adapters
parentaae59c1642f773fac85e749d2d7cf68cdda31aaa (diff)
parente931738085a91208734014294d9806eb775d5229 (diff)
Merge "ValetStatus.jsvs: Fixed sonar issue"
Diffstat (limited to 'adapters/mso-openstack-adapters')
-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;
}