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

Bug 161564

Summary: [1.5][compiler] Should provide option to flag unused @SuppressWarnings
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: blizzy-keyword-eclipse_bugs.ba215a
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Philipe Mulet CLA 2006-10-19 09:57:44 EDT
 
Comment 1 Philipe Mulet CLA 2006-10-19 10:00:58 EDT
Build 3.3M2

When migrating to Java5, it is common to stage migration; and have some prereq component still using Java4. To protect against the unchecked warnings which are resulting from the raw generic type produced by the prereq API (e.g. List), one may suppress unchecked warnings for the current time being.

Over time, when the prereq component has migrated, most of the suppressed warnings  have become irrelevant. Thus, they should be signaled as such.
ie. if no warning is intercepted by a suppress warning, it should be flagged as unused.
Comment 2 Maik Schreiber CLA 2007-03-15 13:47:28 EDT
I think this issue could be marked as a duplicate of bug #127533, no?
Comment 3 Olivier Thomann CLA 2007-03-15 13:53:05 EDT

*** This bug has been marked as a duplicate of bug 127533 ***