diff checkstyle.xml @ 8867:de423c2a3c1b 3.2.x 3.2.2

Checkstyle: define header inline.
author Tom Gottfried <tom@intevation.de>
date Mon, 22 Jan 2018 17:02:26 +0100
parents 0862ea5d66ba
children c0803135455c 05e844922148
line wrap: on
line diff
--- a/checkstyle.xml	Mon Jan 22 16:59:03 2018 +0100
+++ b/checkstyle.xml	Mon Jan 22 17:02:26 2018 +0100
@@ -17,8 +17,9 @@
 
   <!-- Following interprets the header file as regular expressions. -->
   <module name="RegexpHeader">
-    <property name="headerFile" value="../java.header"/>
     <property name="fileExtensions" value="java"/>
+    <property name="header"
+              value="^/\* Copyright \(C\) .* by Bundesanstalt für Gewässerkunde$\n^ \* Software engineering by .*$\n^ \*$\n^ \* This file is Free Software under the GNU AGPL \(>=v3\)$\n^ \* and comes with ABSOLUTELY NO WARRANTY! Check out the$\n^ \* documentation coming with Dive4Elements River for details.$\n^ \*/$"/>
   </module>
 
   <module name="FileTabCharacter">

http://dive4elements.wald.intevation.org