Skip to content

Commit e5c758c

Browse files
committed
checkstyle.xml: simplify the diagnostic message for an empty block
1 parent 9a95b72 commit e5c758c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/checkstyle/checkstyle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@
240240
<!-- See https://checkstyle.org/checks/regexp -->
241241
<module name="RegexpSinglelineJava">
242242
<property name="format" value="\{[ ]+\}"/>
243-
<property name="message" value="Empty blocks should have no spaces. Empty blocks may only be represented as '{}' when not part of a multi-block statement (4.1.3)"/>
243+
<property name="message" value="Empty blocks must not contain spaces."/>
244244
</module>
245245

246246
<!-- Checks for size violations: -->

0 commit comments

Comments
 (0)