Bug 521139 - SelectionConverter.getInputAsClassFile(JavaEditor) is unused
Change-Id: I653e235272eb805e4bf4aa30815eb87bb586215e
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SelectionConverter.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SelectionConverter.java
index 6b1d844..7422cf3 100644
--- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SelectionConverter.java
+++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/SelectionConverter.java
@@ -245,13 +245,6 @@
return null;
}
- public static IClassFile getInputAsClassFile(JavaEditor editor) {
- Object editorInput= SelectionConverter.getInput(editor);
- if (editorInput instanceof IClassFile)
- return (IClassFile)editorInput;
- return null;
- }
-
private static IJavaElement[] performForkedCodeResolve(final ITypeRoot input, final ITextSelection selection) throws InvocationTargetException, InterruptedException {
final class CodeResolveRunnable implements IRunnableWithProgress {
IJavaElement[] result;