changeset 9688:c0803135455c

Removed nonsensiscal cehckstyle options.
author Gernot Belger <g.belger@bjoernsen.de>
date Thu, 13 Aug 2020 16:44:56 +0200
parents f4fdf7798bab
children fabf92342ee5
files checkstyle.xml
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/checkstyle.xml	Wed Jul 15 14:25:53 2020 +0200
+++ b/checkstyle.xml	Thu Aug 13 16:44:56 2020 +0200
@@ -7,7 +7,10 @@
 
   <!-- Checks whether files end with a new line.                        -->
   <!-- See http://checkstyle.sf.net/config_misc.html#NewlineAtEndOfFile -->
+  <!--
+    Makes no sense: only necessary for bad text exitors and bad diff tools. 
   <module name="NewlineAtEndOfFile"/>
+   -->
 
   <!-- Checks that property files contain the same keys.         -->
   <!-- See http://checkstyle.sf.net/config_misc.html#Translation -->
@@ -16,11 +19,13 @@
   <module name="FileLength"/>
 
   <!-- Following interprets the header file as regular expressions. -->
+  <!-- FIXME: needs to be adpted for engeneering by several companies. 
   <module name="RegexpHeader">
     <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">
     <property name="eachLine" value="true"/>
@@ -71,10 +76,11 @@
 
     <!-- Checks for Size Violations.                    -->
     <!-- See http://checkstyle.sf.net/config_sizes.html -->
+    <!-- Checks for 80 chars per line... we did this back in the 1980's...
     <module name="LineLength">
       <property name="ignorePattern" value="^ *\$wnd.*$"/>
     </module>
-
+    -->
 
     <!-- Checks for whitespace                               -->
     <!-- See http://checkstyle.sf.net/config_whitespace.html -->

http://dive4elements.wald.intevation.org