aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprakash.e <prakash.e@huawei.com>2017-12-21 15:59:52 +0530
committerprakash.e <prakash.e@huawei.com>2017-12-21 15:59:52 +0530
commit124fa28fffe41658dd9a7fc77c91b3279a7c92cd (patch)
tree1598ebbb0dc147700eb1e4c7915f004594877de7
parentac68c31943b5a93c1a9e0d7e64d24455d9eb97e6 (diff)
Impact on performance fix
Change-Id: I36e82265087ebce69c7f01c8e75b7c932a969d0e Issue-ID: CCSDK-151 Signed-off-by: prakash.e <prakash.e@huawei.com>
-rw-r--r--ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncOdlConnection.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncOdlConnection.java b/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncOdlConnection.java
index a2556b4b..78d9c5bc 100644
--- a/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncOdlConnection.java
+++ b/ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncOdlConnection.java
@@ -137,7 +137,7 @@ public class SdncOdlConnection {
respRdr = new BufferedReader(new InputStreamReader(httpConn.getErrorStream()));
}
- StringBuffer respBuff = new StringBuffer();
+ StringBuilder respBuff = new StringBuilder();
String respLn;
@@ -150,7 +150,7 @@ public class SdncOdlConnection {
LOG.info("Response body :\n" + respString);
- return (respString);
+ return respString;
}