Update pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/documentation/CommentContentRule.java

Co-authored-by: Clément Fournier <clement.fournier76@gmail.com>
This commit is contained in:
XenoAmess
2020-08-27 12:02:21 +08:00
committed by GitHub
parent 44a08faf7f
commit 1a443f92f3

View File

@ -143,7 +143,7 @@ public class CommentContentRule extends AbstractCommentRule {
return super.visit(cUnit, data);
}
public boolean hasDisallowedTerms() {
private boolean hasDisallowedTerms() {
List<String> terms = getProperty(DISSALLOWED_TERMS_DESCRIPTOR);
return !terms.isEmpty();
}