Bug 32225 - incorrect delta after deleting 2 fields
Summary: incorrect delta after deleting 2 fields
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 RC1   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-19 07:19 EST by Adam Kiezun CLA
Modified: 2003-02-25 07:32 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Kiezun CLA 2003-02-19 07:19:46 EST
class A{
  int w1;
  int w2;
}

calling ISourceReference.delete
on the 2 fields inside 1 JavaCore.run(..) batch sends out 1 delta

[Working copy] A.java[*]: {CHILDREN | FINE GRAINED}
	A[*]: {CHILDREN | FINE GRAINED}
		w2[-]: {}

although both elements are deleted from the source
Comment 1 Jerome Lanneluc CLA 2003-02-19 10:20:38 EST
Reconcile deltas on the same working copy were not merged. The last one always 
won.

Fixed and added regression test WorkingCopyTests.testDelete2Fields()
Comment 2 David Audel CLA 2003-02-25 07:32:15 EST
Verified.