comparison checkstyle.xml @ 9688:c0803135455c

Removed nonsensiscal cehckstyle options.
author Gernot Belger <g.belger@bjoernsen.de>
date Thu, 13 Aug 2020 16:44:56 +0200
parents de423c2a3c1b
children
comparison
equal deleted inserted replaced
9683:f4fdf7798bab 9688:c0803135455c
5 5
6 <module name="Checker"> 6 <module name="Checker">
7 7
8 <!-- Checks whether files end with a new line. --> 8 <!-- Checks whether files end with a new line. -->
9 <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile --> 9 <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
10 <!--
11 Makes no sense: only necessary for bad text exitors and bad diff tools.
10 <module name="NewlineAtEndOfFile"/> 12 <module name="NewlineAtEndOfFile"/>
13 -->
11 14
12 <!-- Checks that property files contain the same keys. --> 15 <!-- Checks that property files contain the same keys. -->
13 <!-- See http://checkstyle.sf.net/config_misc.html#Translation --> 16 <!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
14 <module name="Translation"/> 17 <module name="Translation"/>
15 18
16 <module name="FileLength"/> 19 <module name="FileLength"/>
17 20
18 <!-- Following interprets the header file as regular expressions. --> 21 <!-- Following interprets the header file as regular expressions. -->
22 <!-- FIXME: needs to be adpted for engeneering by several companies.
19 <module name="RegexpHeader"> 23 <module name="RegexpHeader">
20 <property name="fileExtensions" value="java"/> 24 <property name="fileExtensions" value="java"/>
21 <property name="header" 25 <property name="header"
22 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^ \*/$"/> 26 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^ \*/$"/>
23 </module> 27 </module>
28 -->
24 29
25 <module name="FileTabCharacter"> 30 <module name="FileTabCharacter">
26 <property name="eachLine" value="true"/> 31 <property name="eachLine" value="true"/>
27 </module> 32 </module>
28 33
69 <module name="UnusedImports"/> 74 <module name="UnusedImports"/>
70 75
71 76
72 <!-- Checks for Size Violations. --> 77 <!-- Checks for Size Violations. -->
73 <!-- See http://checkstyle.sf.net/config_sizes.html --> 78 <!-- See http://checkstyle.sf.net/config_sizes.html -->
79 <!-- Checks for 80 chars per line... we did this back in the 1980's...
74 <module name="LineLength"> 80 <module name="LineLength">
75 <property name="ignorePattern" value="^ *\$wnd.*$"/> 81 <property name="ignorePattern" value="^ *\$wnd.*$"/>
76 </module> 82 </module>
77 83 -->
78 84
79 <!-- Checks for whitespace --> 85 <!-- Checks for whitespace -->
80 <!-- See http://checkstyle.sf.net/config_whitespace.html --> 86 <!-- See http://checkstyle.sf.net/config_whitespace.html -->
81 <!--<module name="EmptyForIteratorPad"/> 87 <!--<module name="EmptyForIteratorPad"/>
82 <module name="MethodParamPad"> 88 <module name="MethodParamPad">

http://dive4elements.wald.intevation.org