Menu

#1115 commentRequiredRule in pmd 5.1 is not working properly

PMD-5.1.0
closed
PMD
1-Blocker
Bug
5.1
2013-08-04
2013-07-19
Dheepan
No

Hi all,
CommentRequiredRule (PMD) is not showing error for the public method if the previous public method has comments inside it.

Example:

    public void method1() {
//comments here     --------line 1

}

public void method2() {--------line 2

}

For the above code , the error is shown only for method1 and not for method2 since there is comment at line 1.

kindly check it..

Discussion

  • Andreas Dangel

    Andreas Dangel - 2013-08-03
    • status: open --> in-progress
    • assigned_to: Andreas Dangel
    • Milestone: New Tickets --> PMD-5.1.0
     
  • Andreas Dangel

    Andreas Dangel - 2013-08-04
    • status: in-progress --> closed
     

Log in to post a comment.