#466 UnusedImports misses @link/@see javadoc tags

release_4.2
closed
Oliver Burn
5
2012-10-10
2007-01-30
Jasper Rosenberg
No

I include check:

When I have a class with a javadoc like:

import java.util.Calendar;

/**
 * Returns my month starting at zero for January like for {@link Calendar#MONTH}.
 * @see Calendar#MONTH
 */
public int getMyMonth() {
    return myMonth;
}

"import java.util.Calendar;" is flagged as an unused import even though it is used within the javadoc comments.

Discussion

  • Lars Kühne
    Lars Kühne
    2007-02-01

    Logged In: YES
    user_id=401384
    Originator: NO

    This is a duplicate of bug #652303