Unused imports and @link javadoc

Stevo Slavić <[email protected]> Wed, 30 Mar 2011 01:56:58 +0200
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <[email protected]>
Hello Checkstyle users,

Checkstyle 5.1 (used via Sonar, btw, whose upgrade to 5.3
http://jira.codehaus.org/browse/SONAR-1836 is blocked by
http://sourceforge.net/tracker/?func=detail&aid=3132645&group_id=29721&atid=397078
) and 5.3 (through eclipse-cs plugin) report that a class A has an
unused import of class B referenced only in @link javadoc of a method
in class A. Eclipse IDE configured on save to automatically arrange
import section, adds import of B in A.

Can someone please enlighten me on who is correct, Checkstyle in
reporting unused import or Eclipse in configuring import for a class
only referenced in javadoc?

Thanks in advance!

Regards,
Stevo.

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar