aboutsummaryrefslogtreecommitdiffstats
path: root/checkstyle
diff options
context:
space:
mode:
authorClaudio David Gasparini <claudio.gasparini@pantheon.tech>2021-01-21 12:54:38 +0100
committerClaudio David Gasparini <claudio.gasparini@pantheon.tech>2021-01-21 13:41:00 +0100
commit2b862dc5d3dbf3844504660f4800d2f65a79e3dc (patch)
tree2d1fdee0a05641f9e38ea1fa12e940baa3b998e7 /checkstyle
parentcd9f368b1f3c5e25e17e21649e582d84a909ac79 (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')
-rw-r--r--checkstyle/src/main/resources/cps-java-style.xml1
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