Browse Source

HADOOP-1417. Disable a few FindBugs checks that generate a lot of spurious warnings. Contributed by Nigel.

git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@547803 13f79535-47bb-0310-9956-ffa450edef68
Doug Cutting 18 years ago
parent
commit
0f8e3ee3ce
2 changed files with 20 additions and 0 deletions
  1. 3 0
      CHANGES.txt
  2. 17 0
      src/test/findbugsExcludeFile.xml

+ 3 - 0
CHANGES.txt

@@ -144,6 +144,9 @@ Trunk (unreleased changes)
      rack-aware.  Attempts are now made to keep replicas on more
      rack-aware.  Attempts are now made to keep replicas on more
      racks.  (Hairong Kuang via cutting)
      racks.  (Hairong Kuang via cutting)
 
 
+ 46. HADOOP-1417.  Disable a few FindBugs checks that generate a lot
+     of spurious warnings.  (Nigel Daley via cutting)
+
 
 
 Release 0.13.0 - 2007-06-08
 Release 0.13.0 - 2007-06-08
 
 

+ 17 - 0
src/test/findbugsExcludeFile.xml

@@ -2,4 +2,21 @@
      <Match>
      <Match>
        <Package name="org.apache.hadoop.record.compiler.generated" />
        <Package name="org.apache.hadoop.record.compiler.generated" />
      </Match>
      </Match>
+     <Match>
+       <Bug pattern="EI_EXPOSE_REP" />
+     </Match>
+     <Match>
+       <Bug pattern="EI_EXPOSE_REP2" />
+     </Match>
+     <Match>
+       <Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" />
+     </Match>
+     <Match>
+       <Class name="~.*_jsp" />
+       <Bug pattern="DLS_DEAD_LOCAL_STORE" />
+     </Match>
+     <Match>
+       <Field name="_jspx_dependants" />
+       <Bug pattern="UWF_UNWRITTEN_FIELD" />
+     </Match>
 </FindBugsFilter>
 </FindBugsFilter>