HADOOP-16386. FindBugs warning in branch-2: GlobalStorageStatistics defines non-transient non-serializable instance field map.

Signed-off-by: Masatake Iwasaki <iwasakims@apache.org>
This commit is contained in:
Masatake Iwasaki 2019-07-16 12:16:45 +09:00
parent cf7b9a5bd5
commit 62fdfaf093
1 changed files with 6 additions and 0 deletions

View File

@ -207,6 +207,12 @@
<Bug pattern="BC_UNCONFIRMED_CAST" />
</Match>
<Match>
<Class name="org.apache.hadoop.fs.GlobalStorageStatistics" />
<Field name="map" />
<Bug pattern="SE_BAD_FIELD" />
</Match>
<!--
The compareTo method is actually a dummy method that just
throws excpetions. So, no need to override equals. Ignore