Merge remote-tracking branch 'XenoAmess/fix_typos' into fix_typos

# Conflicts:
#	pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/CouplingBetweenObjectsRule.java
This commit is contained in:
XenoAmess
2020-08-27 12:02:58 +08:00
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ public class CouplingBetweenObjectsRule extends AbstractJavaRule {
}
/**
* convenience method to handle hierarchy. This is probably too much work and
* Convenience method to handle hierarchy. This is probably too much work and
* will go away once I figure out the framework
*/
private void handleASTTypeChildren(Node node) {

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();
}