From 44a08faf7f6f9c5ea53235ff233de1bdae989cba Mon Sep 17 00:00:00 2001 From: XenoAmess Date: Thu, 27 Aug 2020 12:01:20 +0800 Subject: [PATCH 1/2] Update pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/CouplingBetweenObjectsRule.java MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Clément Fournier --- .../pmd/lang/java/rule/design/CouplingBetweenObjectsRule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 73d1b306d9..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 { } /** - * convenient 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) { From 1a443f92f3c2f5e662374b0573a392b6d148aac1 Mon Sep 17 00:00:00 2001 From: XenoAmess Date: Thu, 27 Aug 2020 12:02:21 +0800 Subject: [PATCH 2/2] Update pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/documentation/CommentContentRule.java MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Clément Fournier --- .../pmd/lang/java/rule/documentation/CommentContentRule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }