소스 검색

HDFS-7169. Add SE_BAD_FIELD to findbugsExcludeFile.xml.

Tsz-Wo Nicholas Sze 10 년 전
부모
커밋
3affad9ebd
2개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
  2. 3 0
      hadoop-hdfs-project/hadoop-hdfs/dev-support/findbugsExcludeFile.xml

+ 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" />