Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 351480

Summary: Enable overriding the equality check in ListDifferenceAnalyzer.createListChanges()
Product: [Modeling] EMF Reporter: Eike Stepper <stepper>
Component: CoreAssignee: Ed Merks <Ed.Merks>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: vaisegid
Version: 2.7.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 350987    

Description Eike Stepper CLA 2011-07-07 14:06:52 EDT
In CDO our lists can contain a misture of target EObjects and IDs of target objects. We'd like to override the condition in this equality check:

  if (oldValue == null ? newValue == null : oldValue == newValue || oldValue.equals(newValue))

Please refactor it to a seperate method. Thanks ;-)
Comment 1 Eike Stepper CLA 2011-07-07 14:07:30 EDT
> [...] misture

--> mixture
Comment 2 Ed Merks CLA 2011-10-27 13:17:29 EDT
The change is committed to CVS for 2.8.
Comment 3 Ed Merks CLA 2011-11-22 05:26:32 EST
The changes are available in builds.