Skip to content

Commit 6d80440

Browse files
committed
[Java] Apply empty line checkstyle rule.
1 parent a6b3489 commit 6d80440

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

config/checkstyle/checkstyle.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,11 @@
137137

138138
<module name="MutableException"/>
139139

140+
<module name="EmptyLineSeparator">
141+
<property name="allowNoEmptyLineBetweenFields" value="true"/>
142+
<property name="tokens" value="IMPORT, CLASS_DEF, INTERFACE_DEF, ENUM_DEF, STATIC_INIT, INSTANCE_INIT, METHOD_DEF, CTOR_DEF"/>
143+
</module>
144+
140145
<module name="TodoComment">
141146
<property name="severity" value="info"/>
142147
<property name="format" value="TODO"/>

0 commit comments

Comments
 (0)