You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2013/01/22 13:16:43 UTC

svn commit: r1436863 - in /commons/proper/collections/trunk: checkstyle-suppressions.xml pom.xml

Author: tn
Date: Tue Jan 22 12:16:42 2013
New Revision: 1436863

URL: http://svn.apache.org/viewvc?rev=1436863&view=rev
Log:
Add checkstyle suppression filter, do not create aggregate results.

Added:
    commons/proper/collections/trunk/checkstyle-suppressions.xml
Modified:
    commons/proper/collections/trunk/pom.xml

Added: commons/proper/collections/trunk/checkstyle-suppressions.xml
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/checkstyle-suppressions.xml?rev=1436863&view=auto
==============================================================================
--- commons/proper/collections/trunk/checkstyle-suppressions.xml (added)
+++ commons/proper/collections/trunk/checkstyle-suppressions.xml Tue Jan 22 12:16:42 2013
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<!DOCTYPE suppressions PUBLIC "-//Puppy Crawl//DTD Suppressions 1.0//EN" "http://www.puppycrawl.com/dtds/suppressions_1_0.dtd">
+
+<suppressions>
+  <!-- Suppress switch fallthrough / default case for class Flat3Map -->
+  <suppress checks="FallThrough" files="Flat3Map.java" />
+  <suppress checks="MissingSwitchDefault" files="Flat3Map.java" />
+  
+</suppressions>

Modified: commons/proper/collections/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/pom.xml?rev=1436863&r1=1436862&r2=1436863&view=diff
==============================================================================
--- commons/proper/collections/trunk/pom.xml (original)
+++ commons/proper/collections/trunk/pom.xml Tue Jan 22 12:16:42 2013
@@ -496,7 +496,15 @@
         <configuration>
           <configLocation>${basedir}/checkstyle.xml</configLocation>
           <enableRulesSummary>false</enableRulesSummary>
+	      <suppressionsLocation>${basedir}/checkstyle-suppressions.xml</suppressionsLocation>
         </configuration>
+	    <reportSets>
+          <reportSet>
+            <reports>
+              <report>checkstyle</report>
+            </reports>
+          </reportSet>
+        </reportSets>         
       </plugin>
       <plugin>
         <groupId>org.codehaus.mojo</groupId>