aboutsummaryrefslogtreecommitdiffstats
path: root/utils/webseal-simulator/src/main/java
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2019-11-20 17:32:02 +0000
committerOfir Sonsino <ofir.sonsino@intl.att.com>2019-11-25 08:21:43 +0000
commit60be4e21f1ada02fbbdb39cc47ff1c69c098a00a (patch)
tree8d05c95e8b856255564fd6f9f1e1c096f77b5567 /utils/webseal-simulator/src/main/java
parentfe540e1d6e3f0155741a4b4bc48f5ec56f114852 (diff)
Fix Sonar issue
Major SmellCode: Replace StringBuffer with StringBuilder Change-Id: I0283e5160e5c1f23423c66110015f18c8163411e Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-2670
Diffstat (limited to 'utils/webseal-simulator/src/main/java')
-rw-r--r--utils/webseal-simulator/src/main/java/org/openecomp/sdc/webseal/simulator/RequestsClient.java2
1 files changed, 1 insertions, 1 deletions
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;