Skip to content

Commit

Permalink
Allow unnamed variable names in checkstyle (JDK22)
Browse files Browse the repository at this point in the history
  • Loading branch information
wendigo authored and electrum committed Apr 26, 2024
1 parent 529508c commit c28f9b9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Airbase 155
* Checkstyle updates:
- Require exactly one space between array type and array initializer.
- Allow unnamed variable names
* Extract all plugins and dependencies versions to properties
* Make build reproducible
* Plugin updates:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,12 @@
<module name="OneTopLevelClass" />

<module name="MemberName" />
<module name="LocalVariableName" />
<module name="LocalFinalVariableName" />
<module name="LocalVariableName">
<property name="format" value="^([a-z][a-zA-Z0-9]*|_)$" />
</module>
<module name="LocalFinalVariableName">
<property name="format" value="^([a-z][a-zA-Z0-9]*|_)$" />
</module>
<module name="TypeName" />
<module name="PackageName">
<property name="format" value="^[a-z][a-z0-9]*(\.[a-z][a-z0-9]*)*$" />
Expand Down

0 comments on commit c28f9b9

Please sign in to comment.