pmd/pmd — pull request #38 by igniti-gmbh (2014-04-10 13:56:03+00:00)
Title: Some fixes for AbstractCommentRule

Fix comments between other comments being wrongly assigned:

/** Comment 1 */
public void method1() {}

/** Comment 2 */

/** Comment 3 */
public void method2() {}

Would assign Comment 2 to method2, should assign Comment 3.

Also added support for enums in AbstractCommentRule.orderedCommentsAndDeclarations().