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 --- .../asdctool/impl/validator/executers/ArtifactValidatorExecuter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'asdctool/src/main') diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/ArtifactValidatorExecuter.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/ArtifactValidatorExecuter.java index de19d09319..33cf9d46da 100644 --- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/ArtifactValidatorExecuter.java +++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/executers/ArtifactValidatorExecuter.java @@ -134,7 +134,7 @@ public class ArtifactValidatorExecuter{ try { // "service name, service id, state, version for(Component component: components ){ - StringBuffer sb = new StringBuffer(component.getName()); + StringBuilder sb = new StringBuilder(component.getName()); sb.append(",").append(component.getUniqueId()).append(",").append(component.getInvariantUUID()).append(",").append(component.getLifecycleState()).append(",").append(component.getVersion()); sb.append("\n"); -- cgit 1.2.3-korg