commit 24a8d1d5f6f4abe63c69f4c6a1b019eaaff104c1 Author: iwakeh iwakeh@torproject.org Date: Wed Oct 19 12:11:33 2016 +0200
Added checkstyle unused imports module. --- src/test/resources/metrics_checks.xml | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/src/test/resources/metrics_checks.xml b/src/test/resources/metrics_checks.xml index 0777894..60fffe2 100644 --- a/src/test/resources/metrics_checks.xml +++ b/src/test/resources/metrics_checks.xml @@ -14,6 +14,8 @@ - Relaxed requirement that catch parameters must be at least two characters long [CatchParameterName].
+ - Added a check for unused imports [UnusedImports]. + Checkstyle is very configurable. Be sure to read the documentation at http://checkstyle.sf.net (or in your downloaded distribution).
@@ -52,6 +54,7 @@ </module> <module name="AvoidStarImport"/> <module name="OneTopLevelClass"/> + <module name="UnusedImports"/> <module name="NoLineWrap"/> <module name="EmptyBlock"> <property name="option" value="TEXT"/>