Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2016-04-10 12:50:13 +0000
committerAlexander Kurtakov2016-04-10 12:50:13 +0000
commitc03767b4f9087b8e5b9de2fd0df3d316fed333e5 (patch)
tree971e4caf0571a1899ce1ed1c31ac9689b13aed97 /org.eclipse.ui.intro.universal
parent88793d1ac69180ba3e43342e995edebab72d236e (diff)
downloadeclipse.platform.ua-c03767b4f9087b8e5b9de2fd0df3d316fed333e5.tar.gz
eclipse.platform.ua-c03767b4f9087b8e5b9de2fd0df3d316fed333e5.tar.xz
eclipse.platform.ua-c03767b4f9087b8e5b9de2fd0df3d316fed333e5.zip
Bug 491265 - Generify org.eclipse.ui.intro*
Last warning in the build - iterator without type. Change-Id: Ic843c41f8d2965d59470adbac7b74c10e3c577c2 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'org.eclipse.ui.intro.universal')
-rw-r--r--org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/contentdetect/ContentDetectHelper.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/contentdetect/ContentDetectHelper.java b/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/contentdetect/ContentDetectHelper.java
index 90bb6f63f..95aee186e 100644
--- a/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/contentdetect/ContentDetectHelper.java
+++ b/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/contentdetect/ContentDetectHelper.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007 IBM Corporation and others.
+ * Copyright (c) 2007, 2016 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -157,7 +157,7 @@ public class ContentDetectHelper {
public Set<String> findNewContributors(Set<String> contributors, Set<String> previousContributors) {
Set<String> result = new HashSet<>(contributors);
- for (Iterator iter = previousContributors.iterator(); iter.hasNext();) {
+ for (Iterator<String> iter = previousContributors.iterator(); iter.hasNext();) {
result.remove(iter.next());
}
return result;

Back to the top