You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by le...@apache.org on 2019/11/22 01:18:46 UTC

[incubator-datasketches-pig] branch master updated: Update checkstyle config

This is an automated email from the ASF dual-hosted git repository.

leerho pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-pig.git


The following commit(s) were added to refs/heads/master by this push:
     new 0e60ec9  Update checkstyle config
0e60ec9 is described below

commit 0e60ec914ec57085f384df3d9e720eef55841519
Author: Lee Rhodes <le...@users.noreply.github.com>
AuthorDate: Thu Nov 21 17:18:37 2019 -0800

    Update checkstyle config
---
 tools/SketchesCheckstyle.xml | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/tools/SketchesCheckstyle.xml b/tools/SketchesCheckstyle.xml
index 4e9b485..b7659fd 100644
--- a/tools/SketchesCheckstyle.xml
+++ b/tools/SketchesCheckstyle.xml
@@ -23,7 +23,7 @@ under the License.
 -->
 
 <!--
-  SketchesCheckstyle.xml for datasketches-pig
+  SketchesCheckstyle.xml
 
   Checkstyle is very configurable. Be sure to read the documentation at
   http://checkstyle.sourceforge.net (or in your downloaded distribution). Note: Does not work with https.
@@ -48,6 +48,14 @@ under the License.
     <property name="lineSeparator" value="lf"/>
   </module>
   
+  <!-- Size Violations -->
+  <module name="LineLength">
+    <property name="severity" value="warning"/>
+    <property name="max" value="110"/>
+    <property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
+    <!-- <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/> -->
+  </module>
+  
   <module name="TreeWalker">
     
     <!-- Annotations -->
@@ -185,7 +193,7 @@ under the License.
       <property name="allowMissingParamTags" value="false"/>
       <property name="allowMissingThrowsTags" value="true"/>
       <property name="allowMissingReturnTag" value="false"/>
-      <property name="minLineCount" value="2"/>
+      <!-- <property name="minLineCount" value="2"/> -->
       <property name="allowedAnnotations" value="Override, Test"/>
       <property name="allowThrowsTagsForSubclasses" value="true"/>
     </module>
@@ -333,14 +341,6 @@ under the License.
       <property name="ignoreComments" value="true"/>
     </module>
     
-    <!-- Size Violations -->
-    <module name="LineLength">
-      <property name="severity" value="warning"/>
-      <property name="max" value="110"/>
-      <property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
-      <!-- <metadata name="net.sf.eclipsecs.core.lastEnabledSeverity" value="inherit"/> -->
-    </module>
-    
     <!-- Whitespace -->
     <module name="EmptyLineSeparator">
       <property name="allowNoEmptyLineBetweenFields" value="true"/>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org