Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346881 - Unnecessary validator code generated for invariant operations
Summary: Unnecessary validator code generated for invariant operations
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: Tools (show other bugs)
Version: 2.7.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: RC3   Edit
Assignee: Kenn Hussey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 323181
  Show dependency tree
 
Reported: 2011-05-23 11:54 EDT by Kenn Hussey CLA
Modified: 2011-06-02 11:40 EDT (History)
1 user (show)

See Also:
Kenn.Hussey: indigo+
Ed.Merks: pmc_approved+
Ed.Merks: review+


Attachments
proposed patch (1.42 KB, patch)
2011-05-23 11:59 EDT, Kenn Hussey CLA
Kenn.Hussey: review?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kenn Hussey CLA 2011-05-23 11:54:16 EDT
In cases where an invariant operation is overridden in a subclass, default code is generated in the validator instead of calling the (overridden) operation.
Comment 1 Kenn Hussey CLA 2011-05-23 11:59:41 EDT
Created attachment 196355 [details]
proposed patch
Comment 2 Kenn Hussey CLA 2011-05-23 13:47:45 EDT
The proposed fix has been committed to CVS.
Comment 3 Ed Merks CLA 2011-06-02 11:40:18 EDT
The fix is available in 3.7RC3 and later.