Summary: | @SuppressWarnings tokens should not cover all possible warnings | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Olivier Thomann <Olivier_Thomann> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | philippe_mulet |
Version: | 3.1 | ||
Target Milestone: | 3.1 RC2 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Olivier Thomann
2005-06-08 13:28:49 EDT
Fixed and released in HEAD. Update existing tests + added new check in org.eclipse.jdt.core.tests.model.CodeCorrectionTests.testWarningTokens unusedImport : unused import declaration ------> unused is removed since it is not possible to add a @SuppressWarnings for it. Verified for 3.1 RC2 using build N20050609-0010 + JDT/Core HEAD Verified for 3.1 RC2 using build I20050610-0010 Unused imports can now be addressed in 3.2 using @SuppressWarnings("unused"), also see bug 123522 |