Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 258735 - Eliminate warnings new to Eclipse 3.5M4
Summary: Eliminate warnings new to Eclipse 3.5M4
Status: VERIFIED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: Core (show other bugs)
Version: 2.5.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Ed Merks CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 247980
  Show dependency tree
 
Reported: 2008-12-13 10:49 EST by Ed Merks CLA
Modified: 2009-06-25 02:54 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Merks CLA 2008-12-13 10:49:15 EST
In 3.5M4 there are warnings about "dead code" which comes from code guarded with a value that's known to be statically true or false.  There are also warnings about the use of a raw class in an instanceof test that can be eliminated by adding ? arguments.  There's one case of the generator itself producing this, so that's being improved as well.
Comment 1 Ed Merks CLA 2008-12-13 11:41:40 EST
The Plugin.getPluginPreferences is deprecated so I also changed code that uses it.
Comment 2 Nick Boldt CLA 2008-12-16 18:33:45 EST
Fix available in HEAD: 2.5.0M4 (S200812151800).
Comment 3 Dave Steinberg CLA 2009-06-25 02:54:34 EDT
Fix available in HEAD: 2.5.0 (R200906151043).