commit 4383ae9386a0cc41d48885266313eb94253301a8 Author: iwakeh iwakeh@torproject.org Date: Wed Jul 13 17:54:58 2016 +0200
Enable suppression annotations for checkstyle. --- src/test/resources/metrics_checks.xml | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/src/test/resources/metrics_checks.xml b/src/test/resources/metrics_checks.xml index 0777894..2df2f2a 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].
+ - Enabled suppression of warnings using annotations. + Checkstyle is very configurable. Be sure to read the documentation at http://checkstyle.sf.net (or in your downloaded distribution).
@@ -34,6 +36,7 @@ <property name="eachLine" value="true"/> </module>
+ <module name="SuppressWarningsFilter" /> <module name="TreeWalker"> <module name="OuterTypeFilename"/> <module name="IllegalTokenText"> @@ -213,5 +216,6 @@ <property name="exceptionVariableName" value="expected"/> </module> <module name="CommentsIndentation"/> + <module name="SuppressWarningsHolder" /> </module> </module>
tor-commits@lists.torproject.org