Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351480 - Enable overriding the equality check in ListDifferenceAnalyzer.createListChanges()
Summary: Enable overriding the equality check in ListDifferenceAnalyzer.createListChan...
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: Core (show other bugs)
Version: 2.7.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Ed Merks CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 350987
  Show dependency tree
 
Reported: 2011-07-07 14:06 EDT by Eike Stepper CLA
Modified: 2011-11-22 05:26 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 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.