Project: JDT
Bug 128785 [dnd] DnD of a member makes file dirty
Reported: 2006-02-21 06:34:06 | Status: resolved fixed

3.2 M5 1. have class C { int i1; int i2; int i3; } 2. make it dirty 3. in the Package Explorer or Outline view drag and drop a field inside C ==> I'm requested that the file is saved (OK, can live with that since it is doing a refactoring behind the scenes. Now the action is performed and the file is left dirty, which is not normal refactoring behavior: it should be non-dirty.

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringExecutionStarter.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/IReorgPolicy.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaCopyProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaMoveProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgCopyStarter.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgMoveStarter.java