Skip to content

Commit 3dbe70e

Browse files
Eclipse-Dominatordamithc
authored andcommitted
Exempt main method from javadoc requirement
Let's update checkstyle.xml to omit the main method from the javadoc requirement, as the purpose of the main method is clear.
1 parent e9f1ca7 commit 3dbe70e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/checkstyle/checkstyle.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@
424424
<module name="MissingJavadocMethodCheck">
425425
<property name="minLineCount" value="1"/>
426426
<property name="allowMissingPropertyJavadoc" value="true"/>
427-
<property name="ignoreMethodNamesRegex" value="(set.*|get.*)"/>
427+
<property name="ignoreMethodNamesRegex" value="(set.*|get.*|main)"/>
428428
</module>
429429

430430
<!-- Checks that every public class, enumeration and interface has a header comment. -->

0 commit comments

Comments
 (0)