Project: JDT
Bug 163038 [clean up] Convert for loop save participant change has no name
Reported: 2006-11-01 05:26:18 | Status: resolved fixed

Given: package pack; public class E1 { public void foo(int[] ints) { for (int i = 0; i < ints.length; i++) { System.out.println(ints[i]); } } } 1. Enable 'Convert for loops' in clean up save participant 2. Make editor dirty 3. Save 4. Open Edit menu Is: 'Undo' Should: something along the line of 'Undo Loop Conversion' Hint: Maybe there is an 'Undo Format' first, undo it and then you see the nameless undo.

Files changed in fix:
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/CodeStyleFix.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/ExpressionsFix.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/FixMessages.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/Java50Fix.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/PotentialProgrammingProblemsFix.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/UnusedCodeFix.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/VariableDeclarationFix.java