This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-resources.git


The following commit(s) were added to refs/heads/master by this push:
     new 1b5b3a5  [MSHARED-1401] Checkstyle add UnusedLocalVariable
1b5b3a5 is described below

commit 1b5b3a5306426293ff4f304f4131b452ea128927
Author: Slawomir Jaranowski <s.jaranow...@gmail.com>
AuthorDate: Sun Jun 2 13:11:09 2024 +0200

    [MSHARED-1401] Checkstyle add UnusedLocalVariable
---
 src/main/resources/config/maven_checks.xml             | 1 +
 src/main/resources/config/maven_checks_nocodestyle.xml | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/main/resources/config/maven_checks.xml 
b/src/main/resources/config/maven_checks.xml
index 2665bc0..e73281e 100644
--- a/src/main/resources/config/maven_checks.xml
+++ b/src/main/resources/config/maven_checks.xml
@@ -178,6 +178,7 @@ under the License.
         <module name="OneStatementPerLine"/>
         <module name="SimplifyBooleanExpression"/>
         <module name="SimplifyBooleanReturn"/>
+        <module name="UnusedLocalVariable"/>
 
         <!-- Checks for class design                         -->
         <!-- See https://checkstyle.org/checks/design/index.html   -->
diff --git a/src/main/resources/config/maven_checks_nocodestyle.xml 
b/src/main/resources/config/maven_checks_nocodestyle.xml
index 091b8a0..a30b36a 100644
--- a/src/main/resources/config/maven_checks_nocodestyle.xml
+++ b/src/main/resources/config/maven_checks_nocodestyle.xml
@@ -125,6 +125,7 @@ under the License.
         <module name="OneStatementPerLine"/>
         <module name="SimplifyBooleanExpression"/>
         <module name="SimplifyBooleanReturn"/>
+        <module name="UnusedLocalVariable"/>
 
         <!-- Checks for class design                         -->
         <!-- See https://checkstyle.org/checks/design/index.html   -->

Reply via email to