summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuabing Zhao <zhaohuabing@gmail.com>2019-02-26 12:39:17 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-26 12:39:17 +0000
commit06bf8af5b985e8c9fa005c995d2b27cf665b5242 (patch)
treec1d6ecf291161612a91be2304433afdd33959861
parentacbb653362d73d17bf88127feddf2ad245e14527 (diff)
parentef16f4b7e711fe8563c4563634194e69b55376a4 (diff)
Merge "Added sonar reported fix in MicroserviceInfo class"
-rw-r--r--src/main/java/org/onap/msb/sdk/discovery/entity/MicroServiceInfo.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/org/onap/msb/sdk/discovery/entity/MicroServiceInfo.java b/src/main/java/org/onap/msb/sdk/discovery/entity/MicroServiceInfo.java
index c14d67a..61c66c3 100644
--- a/src/main/java/org/onap/msb/sdk/discovery/entity/MicroServiceInfo.java
+++ b/src/main/java/org/onap/msb/sdk/discovery/entity/MicroServiceInfo.java
@@ -14,7 +14,6 @@
package org.onap.msb.sdk.discovery.entity;
import java.io.Serializable;
-import java.util.Set;
/**
* @ClassName: MicroServiceInfo Bean
@@ -26,7 +25,7 @@ public class MicroServiceInfo extends Service<Node> implements Serializable {
private static final long serialVersionUID = 1L;
public String toString() {
- StringBuffer buf = new StringBuffer();
+ StringBuilder buf = new StringBuilder();
buf.append("MicroService List:").append("\r\n");;
buf.append("serviceName:").append(getServiceName()).append("\r\n");
buf.append("version:").append(getVersion()).append("\r\n");