Bug 100126

Summary: [javadoc] Warning/error of unused import doesn't take JavaDoc into account
Product: [Eclipse Project] JDT Reporter: Jon Skeet <skeet>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: RESOLVED DUPLICATE QA Contact:
Severity: minor    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jon Skeet CLA 2005-06-15 03:11:29 EDT
(Using 3.1M6)

The (extremely useful) warning of "The import xxx is never used" doesn't take
into account the fact that imports can be of use to JavaDoc.

Hitting "organize imports" usually removes errors to do with unnecessary
imports, but it apparently understands that the imports *are* used, because it
doesn't remove them.
Comment 1 Frederic Fusier CLA 2005-06-15 03:16:44 EDT
Are you sure that you have set compiler options to process javadoc comments?
If so, can you make a try with a more recent build (3.1 RC2 would be perfect).
If this issue still occurs, then please provide a test case.
Comment 2 Jon Skeet CLA 2005-06-15 14:33:11 EDT
Unable to reproduce on 3.1RC2 with the same file, so it looks like this has been
fixed. Sorry for the false alarm.
Comment 3 Frederic Fusier CLA 2005-06-16 03:37:56 EDT
I don't think it's a false alarm, only a duplicate.
Thanks for the feedback

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