Bug 34850 - Need better control over deprecation messages
Summary: Need better control over deprecation messages
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: 2.1 RC3   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-12 13:55 EST by Lance Eason CLA
Modified: 2003-03-17 17:18 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lance Eason CLA 2003-03-12 13:55:21 EST
I currently get two types of deprecation warnings. The first types of warnings 
is when I use a deprecated API, these are legitimate problems that I want to 
see in my task list and address.  The second type of deprecation warning is 
when one of my classes implements a deprecated method.  The reason my class is 
implementing a deprecated method though is that it is implementing an interface 
that has a deprecated method on it.  Not much I can do about that, the 
interface declares it so the class has to implement it deprecated or not.  I'd 
really rather not even see messages for that or at least be able to turn them 
off separately from the deprecation warnings I do care about.
Comment 1 Olivier Thomann CLA 2003-03-12 16:17:57 EST
This is not a bug. It is a feature request.
Comment 2 Lance Eason CLA 2003-03-12 16:26:18 EST
Yeah sorry about that meant to enter it as an enhancement.
Comment 3 Jerome Lanneluc CLA 2003-03-13 05:39:25 EST
Just add /** @deprecated */ on the javadoc of the method that implements the 
deprecated interface, and the warning should go away.
Comment 4 Philipe Mulet CLA 2003-03-13 12:04:58 EST
Note that by default we will not report deprecation inside deprecated code (you 
can re-enable this by changing the corresponding Java compiler preference).

Is it ok to close?
Comment 5 Philipe Mulet CLA 2003-03-17 17:18:42 EST
Closing