You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2015/09/14 09:32:16 UTC

[2/2] logging-log4j2 git commit: Checkstyle: Add HiddenField section as discussed on dev ML.

Checkstyle: Add HiddenField section as discussed on dev ML.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/514865fe
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/514865fe
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/514865fe

Branch: refs/heads/master
Commit: 514865fef8cf9704a995e89860a78ebcd40754f4
Parents: d4e0175
Author: ggregory <gg...@apache.org>
Authored: Mon Sep 14 00:32:13 2015 -0700
Committer: ggregory <gg...@apache.org>
Committed: Mon Sep 14 00:32:13 2015 -0700

----------------------------------------------------------------------
 checkstyle.xml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/514865fe/checkstyle.xml
----------------------------------------------------------------------
diff --git a/checkstyle.xml b/checkstyle.xml
index bfcfe15..9bcb9b1 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -1,4 +1,3 @@
-<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE module PUBLIC
     "-//Puppy Crawl//DTD Check Configuration 1.1//EN"
     "http://www.puppycrawl.com/dtds/configuration_1_1.dtd">
@@ -228,7 +227,6 @@
         </module>
 
 
-
         <!-- Miscellaneous other checks.                   -->
         <!-- See http://checkstyle.sf.net/config_misc.html -->
         <module name="ArrayTypeStyle"/>
@@ -237,6 +235,11 @@
         </module>
         <module name="UpperEll"/>
 
+        <module name="HiddenField">
+          <property name="ignoreConstructorParameter" value="true"/>
+          <property name="ignoreSetter" value="true"/>
+        </module>
+        
     </module>
 
 </module>