Project: JDT
Bug 42770 Deleting a member requires save
Reported: 2003-09-09 07:11:26 | Status: verified fixed

I20030903 + plug-in export from 20030909 0. Ensure preference Java > Refactoring > Save all modified resources... is unchecked (this is the default for new workspaces) 1. Open a CU 2. Make it dirty 3. In the Outline view delete a method of the CU ==> You have to save the CU - this is wrong If the preference in 0. is checked then the CU is saved which is wrong too.

Files changed in fix:
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/UserInterfaceStarter.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/DeleteAction.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/RenameMethodUserInterfaceStarter.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/RenameUserInterfaceStarter.java