You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<messagekey="name.invalidPattern"value="Type name ''{0}'' must match pattern ''{1}''."/>
231
236
</module>
232
237
238
+
<!-- Regexp checks: -->
239
+
<!-- See https://checkstyle.org/checks/regexp -->
240
+
<modulename="RegexpSinglelineJava">
241
+
<propertyname="format"value="\{[ ]+\}"/>
242
+
<propertyname="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
+
</module>
244
+
233
245
<!-- Checks for size violations: -->
234
246
<!-- See https://checkstyle.org/checks/sizes -->
235
247
<modulename="MethodLength">
@@ -241,6 +253,7 @@
241
253
242
254
<!-- Checks for whitespace: -->
243
255
<!-- See https://checkstyle.org/checks/whitespace -->
0 commit comments