static analysis - PMD gets in the way of CheckStyle -


i'm starting use static code analysis tools checkstyle, pmd , findbugs. pmd allows mark code reviewed, adding comment end of line:

system.out.println("test"); // nopmd edward on 9/23/14 10:22 

i don't trailing comments , checkstyle ("don't use trailing comments."). there way tell pmd specific code reviewed, without using trailing comments?

another way of tackling configure checkstyle make exception trailingcomment rule suppression comments this:

<module name="trailingcomment">     <property name="legalcomment" value="^nopmd .*"/> </module> 

Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -