Bug 100126 - [javadoc] Warning/error of unused import doesn't take JavaDoc into account
Summary: [javadoc] Warning/error of unused import doesn't take JavaDoc into account
Status: RESOLVED DUPLICATE of bug 92821
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 3.1 M7   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-15 03:11 EDT by Jon Skeet CLA
Modified: 2005-06-16 03:37 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***