Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Hammer2019-05-21 17:32:59 +0000
committerAlexander Kurtakov2019-06-10 19:26:24 +0000
commit20b4e2973008b4b287241fc14a1eb4f8ee9ee0ad (patch)
treebb2d200827a873cafdd84ef7d0af0921010fd4df /bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox
parentac20bd173d9d6703a6a4ed50b8ede54cbe89af13 (diff)
downloadrt.equinox.p2-20b4e2973008b4b287241fc14a1eb4f8ee9ee0ad.tar.gz
rt.equinox.p2-20b4e2973008b4b287241fc14a1eb4f8ee9ee0ad.tar.xz
rt.equinox.p2-20b4e2973008b4b287241fc14a1eb4f8ee9ee0ad.zip
Remove unnecessary type specifications
Since Java 7 the diamond operator can be used instead of explicit type parameters. Change-Id: I1f4692522a6ed6429f79eea1d898f0cc4a84131a Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox')
-rw-r--r--bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/RepositoryTracker.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/RepositoryTracker.java b/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/RepositoryTracker.java
index aefdfdb04..a1e85a126 100644
--- a/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/RepositoryTracker.java
+++ b/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/RepositoryTracker.java
@@ -44,7 +44,7 @@ public abstract class RepositoryTracker {
/**
* List<URI> of repositories that have already been reported to the user as not found.
*/
- private final List<URI> reposNotFound = Collections.synchronizedList(new ArrayList<URI>());
+ private final List<URI> reposNotFound = Collections.synchronizedList(new ArrayList<>());
/**
* Return an array of repository locations known for the specified provisioning session.

Back to the top