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

Bug 343394

Summary: EModelService should prevent null parameters in its find methods
Product: [Eclipse Project] e4 Reporter: Remy Suen <remy.suen>
Component: UIAssignee: Remy Suen <remy.suen>
Status: RESOLVED FIXED QA Contact: Eric Moffatt <emoffatt>
Severity: normal    
Priority: P3    
Version: 1.0   
Target Milestone: 4.1 M7   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
EModelService patch v1 none

Description Remy Suen CLA 2011-04-20 08:44:35 EDT
As it is likely a programming error for someone to pass in a 'null' parameter, we should throw an exception if this happens.
Comment 1 Remy Suen CLA 2011-04-20 08:46:01 EDT
Created attachment 193689 [details]
EModelService patch v1
Comment 2 Remy Suen CLA 2011-04-20 08:46:37 EDT
(In reply to comment #1)
> Created attachment 193689 [details]
> EModelService patch v1

Patch released to CVS HEAD.