From 60be4e21f1ada02fbbdb39cc47ff1c69c098a00a Mon Sep 17 00:00:00 2001 From: vasraz Date: Wed, 20 Nov 2019 17:32:02 +0000 Subject: Fix Sonar issue Major SmellCode: Replace StringBuffer with StringBuilder Change-Id: I0283e5160e5c1f23423c66110015f18c8163411e Signed-off-by: Vasyl Razinkov Issue-ID: SDC-2670 --- .../main/java/org/openecomp/sdc/webseal/simulator/RequestsClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/webseal-simulator/src') diff --git a/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/RequestsClient.java b/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/RequestsClient.java index 9ce20939f5..d03b93c727 100644 --- a/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/RequestsClient.java +++ b/utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/RequestsClient.java @@ -117,7 +117,7 @@ public class RequestsClient extends HttpServlet { // logger.debug("Send POST http request, url: {}", url); // logger.debug("Response Code: {}", responseCode); - StringBuffer response = new StringBuffer(); + StringBuilder response = new StringBuilder(); try { BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream())); String inputLine; -- cgit 1.2.3-korg