You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2017/10/20 14:05:44 UTC

[2/2] httpcomponents-stylecheck git commit: Limit license header check to files with extension 'java'

Limit license header check to files with extension 'java'


Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-stylecheck/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-stylecheck/commit/ff2920f6
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-stylecheck/tree/ff2920f6
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-stylecheck/diff/ff2920f6

Branch: refs/heads/master
Commit: ff2920f6eb9f5e217203613ebb265055b79a765a
Parents: ee0812a
Author: Oleg Kalnichevski <ol...@apache.org>
Authored: Fri Oct 20 15:45:08 2017 +0200
Committer: Oleg Kalnichevski <ol...@apache.org>
Committed: Fri Oct 20 16:05:13 2017 +0200

----------------------------------------------------------------------
 src/main/resources/hc-stylecheck/default.xml | 1 +
 src/main/resources/hc-stylecheck/minimal.xml | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/httpcomponents-stylecheck/blob/ff2920f6/src/main/resources/hc-stylecheck/default.xml
----------------------------------------------------------------------
diff --git a/src/main/resources/hc-stylecheck/default.xml b/src/main/resources/hc-stylecheck/default.xml
index 07e0031..11b852f 100644
--- a/src/main/resources/hc-stylecheck/default.xml
+++ b/src/main/resources/hc-stylecheck/default.xml
@@ -33,6 +33,7 @@
   </module>
   <module name="Header">
     <property name="headerFile" value="${checkstyle.header.file}" />
+    <property name="fileExtensions" value="java"/>
   </module>
   <module name="FileTabCharacter">
     <property name="eachLine" value="true"/>

http://git-wip-us.apache.org/repos/asf/httpcomponents-stylecheck/blob/ff2920f6/src/main/resources/hc-stylecheck/minimal.xml
----------------------------------------------------------------------
diff --git a/src/main/resources/hc-stylecheck/minimal.xml b/src/main/resources/hc-stylecheck/minimal.xml
index a879a0e..146c307 100644
--- a/src/main/resources/hc-stylecheck/minimal.xml
+++ b/src/main/resources/hc-stylecheck/minimal.xml
@@ -31,6 +31,7 @@
   </module>
   <module name="Header">
     <property name="headerFile" value="${checkstyle.header.file}" />
+    <property name="fileExtensions" value="java"/>
   </module>
   <module name="FileTabCharacter">
     <property name="eachLine" value="true"/>