Bug 15730

Summary: Java compare doesn't copy deleted methods properly
Product: [Eclipse Project] JDT Reporter: Michael Valenta <Michael.Valenta>
Component: UIAssignee: Andre Weinand <andre_weinand>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Michael Valenta CLA 2002-05-10 10:19:18 EDT
Here are the steps to reproduce:
1. Load a java project from CVS
2. Delete a method from a java file
3. Sync 
4. Select the changed file
5. In the Java Structure compare, select the deleted method
6. Choose "copy from right to left"
7. The deleted method is inserted at the top of the java file
Comment 1 Erich Gamma CLA 2002-05-10 15:03:06 EDT
Andre will look into this one once back from WWDC
Comment 2 Erich Gamma CLA 2002-06-05 10:15:37 EDT
Andre is still a problem
Comment 3 Andre Weinand CLA 2002-06-07 17:30:18 EDT
Yes, I'm still a problem <g>

Because this is not the real fix!
However, added a workaround that tries to avoid that restoring an deletion ends 
up at position 0 in the CU.
Will provide the real solution after my vacation.