Skip to content

Commit 4ddde8d

Browse files
sort
1 parent c08f7c1 commit 4ddde8d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

buildSrc/config/checkstyle/checkstyle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
<!-- Modifiers -->
2020
<module name="com.puppycrawl.tools.checkstyle.checks.modifier.ModifierOrderCheck"/>
2121
<!-- Best Practice -->
22-
<module name="UnusedLocalVariable"/>
2322
<module name="EmptyStatement"/>
23+
<module name="UnusedLocalVariable"/>
2424
<module name="VariableDeclarationUsageDistance"/>
2525
</module>
2626
</module>

src/checkstyle/checkstyle.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,8 @@
249249
<module name="io.spring.javaformat.checkstyle.check.SpringJavadocCheck"/>
250250
<module name="io.spring.javaformat.checkstyle.check.SpringJUnit5Check"/>
251251
<!-- Best Practice -->
252-
<module name="UnusedLocalVariable"/>
253252
<module name="EmptyStatement"/>
254-
<!-- <module name="VariableDeclarationUsageDistance"/>-->
255-
<!-- wait for https://github.com/openrewrite/rewrite-static-analysis/issues/469 -->
253+
<module name="UnusedLocalVariable"/>
254+
<!-- <module name="VariableDeclarationUsageDistance"/>--> <!-- wait for https://github.com/openrewrite/rewrite-static-analysis/issues/469 -->
256255
</module>
257256
</module>

0 commit comments

Comments
 (0)