Mercurial > dive4elements > river
changeset 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 | f5fa2467f9c0 |
children | 14200ded6d67 |
files | checkstyle.xml java.header |
diffstat | 2 files changed, 2 insertions(+), 8 deletions(-) [+] |
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">
--- a/java.header Mon Jan 22 16:59:03 2018 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ -^/\* Copyright \(C\) .* by Bundesanstalt für Gewässerkunde$ -^ \* Software engineering by .*$ -^ \*$ -^ \* This file is Free Software under the GNU AGPL \(>=v3\)$ -^ \* and comes with ABSOLUTELY NO WARRANTY! Check out the$ -^ \* documentation coming with Dive4Elements River for details.$ -^ \*/$