Forráskód Böngészése

HDFS-7169. Add SE_BAD_FIELD to findbugsExcludeFile.xml.

Tsz-Wo Nicholas Sze 10 éve
szülő
commit
3affad9ebd

+ 2 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

@@ -646,6 +646,8 @@ Release 2.6.0 - UNRELEASED
     HDFS-6894. Add XDR parser method for each NFS response.
     (Brandon Li via wheat9)
 
+    HDFS-7169. Add SE_BAD_FIELD to findbugsExcludeFile.xml.  (szetszwo)
+
   OPTIMIZATIONS
 
     HDFS-6690. Deduplicate xattr names in memory. (wang)

+ 3 - 0
hadoop-hdfs-project/hadoop-hdfs/dev-support/findbugsExcludeFile.xml

@@ -23,6 +23,9 @@
      <Match>
        <Bug pattern="SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" />
      </Match>
+     <Match>
+       <Bug pattern="SE_BAD_FIELD" />
+     </Match>
      <Match>
        <Class name="~.*_jsp" />
        <Bug pattern="DLS_DEAD_LOCAL_STORE" />