diff options
author | Carsten Hammer | 2021-01-02 12:04:50 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2021-04-29 06:05:41 +0000 |
commit | bdc38700e9a2535aef2965f7085ab47570733382 (patch) | |
tree | cef3544dd6b00ad7b1ed772f1fa15a44b139c82b | |
parent | 8b3354c5542528933cd03edb9f0a9b995fcdb10a (diff) | |
download | eclipse.platform.debug-bdc38700e9a2535aef2965f7085ab47570733382.tar.gz eclipse.platform.debug-bdc38700e9a2535aef2965f7085ab47570733382.tar.xz eclipse.platform.debug-bdc38700e9a2535aef2965f7085ab47570733382.zip |
doogfooding use String.joinI20210509-1800I20210508-1800I20210507-1800I20210506-1800I20210505-1800I20210505-0510I20210505-0100I20210504-1800I20210503-1800I20210502-1800I20210502-0730I20210501-1800I20210430-1800I20210429-1800I20210429-0600
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.java | 9 |
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); } /** |