Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Hammer2021-01-02 12:04:50 +0000
committerAlexander Kurtakov2021-04-29 06:05:41 +0000
commitbdc38700e9a2535aef2965f7085ab47570733382 (patch)
treecef3544dd6b00ad7b1ed772f1fa15a44b139c82b
parent8b3354c5542528933cd03edb9f0a9b995fcdb10a (diff)
downloadeclipse.platform.debug-master.tar.gz
eclipse.platform.debug-master.tar.xz
eclipse.platform.debug-master.zip
Change-Id: If83b6421fc216aa54d3fd1edc9387b781d619861 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.debug/+/174182 Tested-by: Platform Bot <platform-bot@eclipse.org> Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--org.eclipse.unittest.ui/src/org/eclipse/unittest/internal/UnitTestPreferencesConstants.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/org.eclipse.unittest.ui/src/org/eclipse/unittest/internal/UnitTestPreferencesConstants.java b/org.eclipse.unittest.ui/src/org/eclipse/unittest/internal/UnitTestPreferencesConstants.java
index 1afcd46b4..2d043f0cb 100644
--- a/org.eclipse.unittest.ui/src/org/eclipse/unittest/internal/UnitTestPreferencesConstants.java
+++ b/org.eclipse.unittest.ui/src/org/eclipse/unittest/internal/UnitTestPreferencesConstants.java
@@ -55,14 +55,7 @@ public class UnitTestPreferencesConstants {
if (list == null)
return ""; //$NON-NLS-1$
- StringBuilder buffer = new StringBuilder();
- for (int i = 0; i < list.length; i++) {
- if (i > 0)
- buffer.append(',');
-
- buffer.append(list[i]);
- }
- return buffer.toString();
+ return String.join(String.valueOf(','), list);
}
/**

Back to the top