Fix typo: "an accessor" not "a"

This commit is contained in:
Igor Moreno
2020-11-19 22:59:17 +01:00
committed by GitHub
parent fd1112ee9b
commit ff77650801

View File

@ -71,7 +71,7 @@ public class Outer {
class="net.sourceforge.pmd.lang.java.rule.bestpractices.AccessorMethodGenerationRule"
externalInfoUrl="${pmd.website.baseurl}/pmd_rules_java_bestpractices.html#accessormethodgeneration">
<description>
When accessing a private field / method from another class, the Java compiler will generate a accessor methods
When accessing a private field / method from another class, the Java compiler will generate an accessor methods
with package-private visibility. This adds overhead, and to the dex method count on Android. This situation can
be avoided by changing the visibility of the field / method from private to package-private.
</description>