Require method javadoc for private scope
diff --git a/src/main/resources/checkstyle/checkstyle-suppressions.xml b/src/main/resources/checkstyle/checkstyle-suppressions.xml
index d4bea17..7317f67 100644
--- a/src/main/resources/checkstyle/checkstyle-suppressions.xml
+++ b/src/main/resources/checkstyle/checkstyle-suppressions.xml
@@ -36,4 +36,7 @@
<suppress checks="MethodLength" files="ProbabilityDensityApproximationCommand" />
<suppress checks="FileLength" files="[\\/]StableSamplerTest" />
<suppress checks="FileLength" files="[\\/]ZigguratSamplerPerformance" />
+ <!-- Suppress checks for the method-local inner classes -->
+ <suppress checks="MissingJavadocType" files="[\\/]LXMBenchmark" />
+ <suppress checks="MissingJavadocMethod" files="[\\/]LXMBenchmark" />
</suppressions>
diff --git a/src/main/resources/checkstyle/checkstyle.xml b/src/main/resources/checkstyle/checkstyle.xml
index 4450a8f..b3bf596 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 -->