Bug 233858 - Unneeded instanceof check in ItemProviderAdapter#getCreateChildDescription
Summary: Unneeded instanceof check in ItemProviderAdapter#getCreateChildDescription
Status: VERIFIED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: Edit (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dave Steinberg CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2008-05-25 13:22 EDT by Thomas Schindl CLA
Modified: 2008-05-27 17:20 EDT (History)
1 user (show)

See Also:


Attachments
patch (1.07 KB, patch)
2008-05-25 13:22 EDT, Thomas Schindl CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Schindl CLA 2008-05-25 13:22:48 EDT
Created attachment 101893 [details]
patch

the value returned from the function call is already an EStructuralFeature there's no need for a instance of check.
Comment 1 Ed Merks CLA 2008-05-25 13:44:10 EDT
The fix has been committed to CVS.
Comment 2 Nick Boldt CLA 2008-05-27 17:20:38 EDT
Fix available in HEAD: 2.4.0RC2 (S200805270202).