diff --git a/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/CouplingBetweenObjectsRule.java b/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/CouplingBetweenObjectsRule.java index d0121a1b39..179134c4ab 100644 --- a/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/CouplingBetweenObjectsRule.java +++ b/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/CouplingBetweenObjectsRule.java @@ -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) { diff --git a/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/documentation/CommentContentRule.java b/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/documentation/CommentContentRule.java index bd082f9cfc..a4c55919e3 100644 --- a/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/documentation/CommentContentRule.java +++ b/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/documentation/CommentContentRule.java @@ -143,7 +143,7 @@ public class CommentContentRule extends AbstractCommentRule { return super.visit(cUnit, data); } - public boolean hasDisallowedTerms() { + private boolean hasDisallowedTerms() { List terms = getProperty(DISSALLOWED_TERMS_DESCRIPTOR); return !terms.isEmpty(); }