Bug 15730 - Java compare doesn't copy deleted methods properly
Summary: Java compare doesn't copy deleted methods properly
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Andre Weinand CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-10 10:19 EDT by Michael Valenta CLA
Modified: 2002-06-07 17:30 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.