Project: JDT
Bug 150853 [clean up] 'Remove unused imports' multi quick fix doesn't work on non-existing classes
Reported: 2006-07-17 14:52:49 | Status: resolved fixed

'Remove unused imports' quick fix doesn't work on imports of non-existing classes. Example: //A.java import foo.Bar; public class A {} //B.java import foo.Bar; public class B {} Click on 'The import foo cannot be resolved' entry in Problems view and select QuickFix, then 'Find Similar Problems' (the other class appears on the 'Problems' list), 'Select All' and 'OK'. Progress bar appears and then window is closed and nothing happens. There are no errors in Error Log view.

Files changed in fix:
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/CleanUpTest.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFix.java