Skip to content

Commit 04dbf61

Browse files
committed
checkstyle.xml: add "public" and remove "package" from modifier list
1 parent 61798bc commit 04dbf61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/checkstyle/checkstyle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@
267267
<!-- Regexp checks: -->
268268
<!-- See https://checkstyle.org/checks/regexp -->
269269
<module name="RegexpSinglelineJava">
270-
<property name="format" value="static (abstract|final|native|package|private|protected)|(native|package|private|protected) (abstract|final)"/>
270+
<property name="format" value="static (abstract|final|native|private|protected|public)|(native|private|protected|public) (abstract|final)"/>
271271
<property name="message" value="Modifiers must appear in alphabetical order."/>
272272
</module>
273273
<module name="RegexpSinglelineJava">

0 commit comments

Comments
 (0)