Community
Participate
Working Groups
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.
This is not a bug. It is a feature request.
Yeah sorry about that meant to enter it as an enhancement.
Just add /** @deprecated */ on the javadoc of the method that implements the deprecated interface, and the warning should go away.
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?
Closing