commit | 60ddb4c7ca5a9febbb7481fee01cd9a103af2558 | [log] [tgz] |
---|---|---|
author | David Morgan Spenser Savage <dsavage@apache.org> | Thu Sep 02 12:54:23 2010 +0000 |
committer | David Morgan Spenser Savage <dsavage@apache.org> | Thu Sep 02 12:54:23 2010 +0000 |
tree | 42a6c81dda34f8c296875aba813f725911d140c4 | |
parent | be640cd0561fddaba29c44aa19d146997ca6fb4c [diff] |
tidy up some editor warnings (unused packages, generics) git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@991921 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/sigil/eclipse/ui/src/org/apache/felix/sigil/eclipse/ui/internal/editors/project/ExportPackagesSection.java b/sigil/eclipse/ui/src/org/apache/felix/sigil/eclipse/ui/internal/editors/project/ExportPackagesSection.java index 5725b3f..74daa93 100644 --- a/sigil/eclipse/ui/src/org/apache/felix/sigil/eclipse/ui/internal/editors/project/ExportPackagesSection.java +++ b/sigil/eclipse/ui/src/org/apache/felix/sigil/eclipse/ui/internal/editors/project/ExportPackagesSection.java
@@ -38,7 +38,6 @@ import org.apache.felix.sigil.eclipse.ui.util.ResourcesDialogHelper; import org.eclipse.core.runtime.CoreException; import org.eclipse.jdt.core.IPackageFragment; -import org.eclipse.jface.preference.IPreferenceStore; import org.eclipse.jface.viewers.IContentProvider; import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.jface.window.Window;
diff --git a/sigil/gogo/junit/src/org/apache/felix/sigil/gogo/junit/SigilJunitRunner.java b/sigil/gogo/junit/src/org/apache/felix/sigil/gogo/junit/SigilJunitRunner.java index 3afd0e7..8a43018 100644 --- a/sigil/gogo/junit/src/org/apache/felix/sigil/gogo/junit/SigilJunitRunner.java +++ b/sigil/gogo/junit/src/org/apache/felix/sigil/gogo/junit/SigilJunitRunner.java
@@ -25,7 +25,6 @@ import java.io.PrintStream; import java.lang.reflect.Array; import java.util.ArrayList; -import java.util.Collection; import java.util.LinkedList; import java.util.List; import java.util.regex.Pattern; @@ -228,8 +227,8 @@ if (o instanceof String ) { return findTests(( String ) o); } - else if ( o instanceof Iterable ) { - Iterable i = ( Iterable ) o; + else if ( o instanceof Iterable<?> ) { + Iterable<?> i = ( Iterable<?> ) o; for ( Object t : i ) { tests.add(doCoerce(t)); }