[java-idp-testbed] 02/02: JPAR-85 - Checkstyle, check final variables

Tom Zeller tzeller at dragonacea.biz
Mon Aug 7 15:39:11 EDT 2017


This is an automated email from the git hooks/post-receive script.

tzeller pushed a commit to branch master
in repository java-idp-testbed.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-testbed.git;a=commit;h=df025347a9b64e910f73008847848a748e7c369a

commit df025347a9b64e910f73008847848a748e7c369a
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Mon Aug 7 14:33:26 2017 -0500

    JPAR-85 - Checkstyle, check final variables
---
 checkstyle.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/checkstyle.xml b/checkstyle.xml
index bf86636..386c29a 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -96,6 +96,10 @@
     <module name="FinalParameters">
       <property name="tokens" value="METHOD_DEF,CTOR_DEF,LITERAL_CATCH"/>
     </module>
+    <module name="FinalLocalVariable">
+      <property name="tokens" value="PARAMETER_DEF,VARIABLE_DEF"/>
+      <property name="validateEnhancedForLoopVariable" value="true"/>
+    </module>
   </module>
   <module name="SuppressionCommentFilter">
     <property name="offCommentFormat" value="\bCheck[Ss]tyle:\s*([\w|]+)\s+OFF\b"/>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list