Description:
The Comment Required rule : http://pmd.sourceforge.net/pmd-5.0.4/rules/java/comments.html#commentRequired offers some properties already to tune the rule.
However from using PMD on various project, I find that a property to ignore overriding method (which mostly use the same javadoc as the overrided method) and getter & setter should be able to easily ignore the rule.
I know eclipse generate comment on getters and setters but to me adding 3 lignes of comments to give 0 extra informations is really useless.
Code Sample demonstrating the issue:
private Integer year;
/**
* Set year.
* @param year year
*/
public void setYear(final Integer year) {
this.year = year;
}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4