Skip to content

Commit c228fa4

Browse files
committed
checkstyle.xml: add "public" and remove "package" from modifier lists
1 parent d8ed217 commit c228fa4

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
@@ -283,7 +283,7 @@
283283
<!-- Regexp checks: -->
284284
<!-- See https://checkstyle.org/checks/regexp -->
285285
<module name="RegexpSinglelineJava">
286-
<property name="format" value="static (abstract|final|package|private|protected)|(package|private|protected) (abstract|final)"/>
286+
<property name="format" value="static (abstract|final|private|protected|public)|(private|protected|public) (abstract|final)"/>
287287
<property name="message" value="Modifiers must appear in alphabetical order."/>
288288
</module>
289289
<module name="RegexpSinglelineJava">

0 commit comments

Comments
 (0)