Impact on performance fix
authorprakash.e <prakash.e@huawei.com>
Thu, 21 Dec 2017 10:29:52 +0000 (15:59 +0530)
committerprakash.e <prakash.e@huawei.com>
Thu, 21 Dec 2017 10:29:52 +0000 (15:59 +0530)
Change-Id: I36e82265087ebce69c7f01c8e75b7c932a969d0e
Issue-ID: CCSDK-151
Signed-off-by: prakash.e <prakash.e@huawei.com>
ueb-listener/src/main/java/org/onap/ccsdk/sli/northbound/uebclient/SdncOdlConnection.java

index a2556b4..78d9c5b 100644 (file)
@@ -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;
 
        }