#1465 [java] UnusedImports: False Positve with javadoc @link

PMD-5.3.7
closed
java (55)
PMD
3-Major
Bug
UnusedImports
2016-06-25
2016-02-27
No

See [#1280].

Example:

import a.b.c.d.AgentState; // line 6

//...

    /**
     * Gets all active AgentHandles.
     * <p/>
     * An agent is active if it has not posted a {@link AgentStateChangeEvent} containing {@link AgentState#TERMINATED}.
     *
     * @return agent handles.
     */
    Iterable<AgentHandle> getAgentHandles();

The part {@link AgentState#TERMINATED} is not parsed correctly and raises a violation for "AgentState".

Related

Issues: #1280

Discussion

  • Andreas Dangel

    Andreas Dangel - 2016-02-27
    • status: open --> closed
     
  • Andreas Dangel

    Andreas Dangel - 2016-06-25
    • labels: --> java
    • summary: False Positve UnusedImports with javadoc @link --> [java] UnusedImports: False Positve with javadoc @link
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks