Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/xlc
diff options
context:
space:
mode:
authorSergey Prigogin2016-10-06 23:24:34 +0000
committerSergey Prigogin2016-10-06 23:36:21 +0000
commit33f05229067df81973b86838538251acf68596d4 (patch)
treeef67c3aa8d98359d015df47e544b88c76e8e5ba9 /xlc
parentc8d528587e436ed6de329d61325d4364d3191dd6 (diff)
downloadorg.eclipse.cdt-33f05229067df81973b86838538251acf68596d4.tar.gz
org.eclipse.cdt-33f05229067df81973b86838538251acf68596d4.tar.xz
org.eclipse.cdt-33f05229067df81973b86838538251acf68596d4.zip
Generification and other code cleanup.
Diffstat (limited to 'xlc')
-rw-r--r--xlc/org.eclipse.cdt.managedbuilder.xlupc.ui/src/org/eclipse/cdt/managedbuilder/xlupc/ui/wizards/UpcProjectWizard.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/xlc/org.eclipse.cdt.managedbuilder.xlupc.ui/src/org/eclipse/cdt/managedbuilder/xlupc/ui/wizards/UpcProjectWizard.java b/xlc/org.eclipse.cdt.managedbuilder.xlupc.ui/src/org/eclipse/cdt/managedbuilder/xlupc/ui/wizards/UpcProjectWizard.java
index bf911b478a2..a6c0b00f36e 100644
--- a/xlc/org.eclipse.cdt.managedbuilder.xlupc.ui/src/org/eclipse/cdt/managedbuilder/xlupc/ui/wizards/UpcProjectWizard.java
+++ b/xlc/org.eclipse.cdt.managedbuilder.xlupc.ui/src/org/eclipse/cdt/managedbuilder/xlupc/ui/wizards/UpcProjectWizard.java
@@ -61,15 +61,13 @@ public class UpcProjectWizard extends CDTCommonProjectWizard {
@Override
public void addPages() {
fMainPage = new CDTMainWizardPage(PAGE_NAME) {
-
@Override
- @SuppressWarnings("unchecked")
- public List filterItems(List items) {
+ public List<EntryDescriptor> filterItems(List<EntryDescriptor> items) {
// filter out all non-UPC project types
if (items != null) {
- Iterator iter = items.iterator();
+ Iterator<EntryDescriptor> iter = items.iterator();
while (iter.hasNext()) {
- EntryDescriptor entryDescriptor = (EntryDescriptor) iter.next();
+ EntryDescriptor entryDescriptor = iter.next();
if(!ALL_TYPES.contains(entryDescriptor.getId()))
iter.remove();
}

Back to the top