You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2017/02/08 21:11:34 UTC

svn commit: r1782259 - in /myfaces/myfaces-build-tools/trunk/other/checkstyle-rules/src/main/resources/tobago: checkstyle-strict.xml checkstyle.xml

Author: lofwyr
Date: Wed Feb  8 21:11:34 2017
New Revision: 1782259

URL: http://svn.apache.org/viewvc?rev=1782259&view=rev
Log:
TOBAGO-1698: Update some build libs
* checkstyle

Modified:
    myfaces/myfaces-build-tools/trunk/other/checkstyle-rules/src/main/resources/tobago/checkstyle-strict.xml
    myfaces/myfaces-build-tools/trunk/other/checkstyle-rules/src/main/resources/tobago/checkstyle.xml

Modified: myfaces/myfaces-build-tools/trunk/other/checkstyle-rules/src/main/resources/tobago/checkstyle-strict.xml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/other/checkstyle-rules/src/main/resources/tobago/checkstyle-strict.xml?rev=1782259&r1=1782258&r2=1782259&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/trunk/other/checkstyle-rules/src/main/resources/tobago/checkstyle-strict.xml (original)
+++ myfaces/myfaces-build-tools/trunk/other/checkstyle-rules/src/main/resources/tobago/checkstyle-strict.xml Wed Feb  8 21:11:34 2017
@@ -66,6 +66,7 @@
     <!-- See http://checkstyle.sf.net/config_header.html -->
     <module name="Header">
         <property name="headerFile" value="${checkstyle.header.file}"/>
+        <property name="fileExtensions" value="*.java"/>
     </module>
 
     <module name="FileTabCharacter">
@@ -125,7 +126,6 @@
         <module name="UnusedImports"/>
         <!--module name="AvoidStaticImport"/-->
 
-
         <!-- Checks for Size Violations.                    -->
         <!-- See http://checkstyle.sf.net/config_sizes.html -->
         <module name="LineLength">

Modified: myfaces/myfaces-build-tools/trunk/other/checkstyle-rules/src/main/resources/tobago/checkstyle.xml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/trunk/other/checkstyle-rules/src/main/resources/tobago/checkstyle.xml?rev=1782259&r1=1782258&r2=1782259&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/trunk/other/checkstyle-rules/src/main/resources/tobago/checkstyle.xml (original)
+++ myfaces/myfaces-build-tools/trunk/other/checkstyle-rules/src/main/resources/tobago/checkstyle.xml Wed Feb  8 21:11:34 2017
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<!-- 
+<!--
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
@@ -129,11 +129,13 @@
         <!-- Checks for Size Violations.                    -->
         <!-- See http://checkstyle.sf.net/config_sizes.html -->
         <module name="LineLength">
-          <property name="max" value="120"/>
+            <property name="max" value="120"/>
+        </module>
+        <module name="MethodLength">
+            <property name="max" value="250"/>
         </module>
-        <!--<module name="MethodLength"/>-->
         <module name="ParameterNumber">
-          <property name="max" value="15"/>
+            <property name="max" value="10"/>
         </module>
 
         <!-- Checks for whitespace                               -->