[java-opensaml] 02/02: JPAR-85 - Checkstyle, check final variables
Tom Zeller
tzeller at dragonacea.biz
Mon Aug 7 15:39:49 EDT 2017
This is an automated email from the git hooks/post-receive script.
tzeller pushed a commit to branch master
in repository java-opensaml.
View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=659776c143a4f21dde869d2d8a6b1f9661d82dbf
commit 659776c143a4f21dde869d2d8a6b1f9661d82dbf
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Mon Aug 7 14:36:15 2017 -0500
JPAR-85 - Checkstyle, check final variables
---
opensaml-parent/resources/checkstyle/checkstyle.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/opensaml-parent/resources/checkstyle/checkstyle.xml b/opensaml-parent/resources/checkstyle/checkstyle.xml
index f88b740..ab741c2 100644
--- a/opensaml-parent/resources/checkstyle/checkstyle.xml
+++ b/opensaml-parent/resources/checkstyle/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