diff --git a/pmd-java/src/main/resources/rulesets/java/controversial.xml b/pmd-java/src/main/resources/rulesets/java/controversial.xml index 1627cc401d..364d330180 100644 --- a/pmd-java/src/main/resources/rulesets/java/controversial.xml +++ b/pmd-java/src/main/resources/rulesets/java/controversial.xml @@ -278,7 +278,8 @@ public class Foo { class="net.sourceforge.pmd.lang.rule.XPathRule" externalInfoUrl="${pmd.website.baseurl}/rules/java/controversial.html#DefaultPackage"> -Use explicit scoping instead of the default package private level. +Use explicit scoping instead of accidental usage of default package private level. +The rule allows methods and fields annotated with Guava's @VisibleForTesting. 3 diff --git a/src/site/markdown/overview/changelog.md b/src/site/markdown/overview/changelog.md index 830c40c13c..e034508139 100644 --- a/src/site/markdown/overview/changelog.md +++ b/src/site/markdown/overview/changelog.md @@ -17,6 +17,7 @@ **Pull Requests:** +* [#71](https://github.com/pmd/pmd/pull/71): #1410 Improve description of DefaultPackage rule **Bugfixes:**