From 9921b1751cde31721958d004935f2b7fc5e95513 Mon Sep 17 00:00:00 2001 From: jitendra007 Date: Tue, 21 Jul 2020 14:35:31 +0530 Subject: Code improvement for pending sonar issues Issue-ID: CLI-270 Signed-off-by: jitendra007 Change-Id: Ie27d3ff077fa1ef4d13788849aa82d695f183eeb --- .../src/main/java/org/onap/cli/sample/yaml/SampleYamlGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'validate/sample-yaml-generator') diff --git a/validate/sample-yaml-generator/src/main/java/org/onap/cli/sample/yaml/SampleYamlGenerator.java b/validate/sample-yaml-generator/src/main/java/org/onap/cli/sample/yaml/SampleYamlGenerator.java index 3436a50f..7e20fc87 100644 --- a/validate/sample-yaml-generator/src/main/java/org/onap/cli/sample/yaml/SampleYamlGenerator.java +++ b/validate/sample-yaml-generator/src/main/java/org/onap/cli/sample/yaml/SampleYamlGenerator.java @@ -67,7 +67,7 @@ public class SampleYamlGenerator { } private static String printTabs() { - StringBuffer spaces = new StringBuffer(); + StringBuilder spaces = new StringBuilder(); for (int i=0; i < nTab; i++) { spaces.append(" "); } -- cgit 1.2.3-korg