diff options
author | Claudio David Gasparini <claudio.gasparini@pantheon.tech> | 2021-01-21 12:54:38 +0100 |
---|---|---|
committer | Claudio David Gasparini <claudio.gasparini@pantheon.tech> | 2021-01-21 13:41:00 +0100 |
commit | 2b862dc5d3dbf3844504660f4800d2f65a79e3dc (patch) | |
tree | 2d1fdee0a05641f9e38ea1fa12e940baa3b998e7 /checkstyle/src | |
parent | cd9f368b1f3c5e25e17e21649e582d84a909ac79 (diff) |
Add checkstyle rule for unused imports
Issue-ID: CPS-89
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: I2cb1f758c9d2f451c11a607a84e1f196ae087165
Diffstat (limited to 'checkstyle/src')
-rw-r--r-- | checkstyle/src/main/resources/cps-java-style.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/checkstyle/src/main/resources/cps-java-style.xml b/checkstyle/src/main/resources/cps-java-style.xml index ebb9a19e67..67b2863695 100644 --- a/checkstyle/src/main/resources/cps-java-style.xml +++ b/checkstyle/src/main/resources/cps-java-style.xml @@ -30,5 +30,6 @@ <property name="tokens" value="VARIABLE_DEF,PARAMETER_DEF"/> <property name="validateEnhancedForLoopVariable" value="true"/> </module> + <module name="UnusedImports"/> </module> </module>
\ No newline at end of file |