Project: JDT
Bug 159449 [clean up] Clean Up Wizards throws exception (converting for loops)
Reported: 2006-10-02 09:33:00 | Status: resolved fixed

Hi, I just tried the new cleanup wizard. It works as expected for all but one file. This file seems to be nothing special: it compiles normally. However, the attached exception is always thrown when I am pressing next on the Clean Up wizard page. When I'm deactivating the selection "Convert for loops to enhanced", then everything works fine. Seems to be a bug in the for loops refactoring. Best regards, Ulli

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/ControlStatementsFix.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ConvertForLoopOperation.java