Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCarsten Hammer2019-08-25 15:33:24 +0000
committerKarsten Thoms2019-09-16 21:07:17 +0000
commitbb023c36e3964193edf7f82e8fee3478f33b30cc (patch)
tree033ee446d5527414458f70c6c9b9d804729f43a0 /tests
parent2db141f0d5c2c388b7557c495680d48c3d977854 (diff)
downloadeclipse.platform.team-bb023c36e3964193edf7f82e8fee3478f33b30cc.tar.gz
eclipse.platform.team-bb023c36e3964193edf7f82e8fee3478f33b30cc.tar.xz
eclipse.platform.team-bb023c36e3964193edf7f82e8fee3478f33b30cc.zip
Remove unnecessary type specificationsI20190916-1800
Since Java 7 the diamond operator can be used instead of explicit type parameters. Change-Id: I2a5017574b71a0aa5125cf81efa784b3a3a05735 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/EclipseCVSClient.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/EclipseCVSClient.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/EclipseCVSClient.java
index 576be08e4..4cfb3d8af 100644
--- a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/EclipseCVSClient.java
+++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/EclipseCVSClient.java
@@ -82,7 +82,7 @@ public class EclipseCVSClient implements ICVSClient {
GlobalOption[] cvsGlobalOptions = globals.toArray(new GlobalOption[globals.size()]);
// get local options
- List<CustomLocalOption> locals = new ArrayList<CustomLocalOption>();
+ List<CustomLocalOption> locals = new ArrayList<>();
for (int i = 0; i < localOptions.length; i++) {
String option = localOptions[i];
String argument = null;

Back to the top