This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git


The following commit(s) were added to refs/heads/master by this push:
     new 025bb7af Require method javadoc for private scope
025bb7af is described below

commit 025bb7af30abd47581f0f7e8deb650db6767e107
Author: Alex Herbert <aherb...@apache.org>
AuthorDate: Sun Jun 26 22:23:45 2022 +0100

    Require method javadoc for private scope
---
 src/main/resources/checkstyle/checkstyle.xml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/checkstyle/checkstyle.xml 
b/src/main/resources/checkstyle/checkstyle.xml
index bc4cfb0d..a456a821 100644
--- a/src/main/resources/checkstyle/checkstyle.xml
+++ b/src/main/resources/checkstyle/checkstyle.xml
@@ -92,9 +92,13 @@
     <module name="JavadocType" />
     <module name="JavadocVariable" />
     <module name="JavadocStyle" />
-    <module name="MissingJavadocMethod" />
+    <module name="MissingJavadocMethod">
+      <property name="scope" value="private"/>
+    </module>
     <module name="MissingJavadocPackage" />
-    <module name="MissingJavadocType" />
+    <module name="MissingJavadocType">
+      <property name="scope" value="private"/>
+    </module>
 
     <!-- Checks for Naming Conventions. -->
     <!-- See http://checkstyle.sourceforge.net/config_naming.html -->

Reply via email to