diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:45:59 +0000 |
commit | 19fcec84d8d7d21e796c7624e521b60d28ee21ed (patch) | |
tree | 42d26aa27d1e3f7c0b8bd3fd14e7d7082f5008dc /src/jaegertracing/thrift/lib/java/code_quality_tools | |
parent | Initial commit. (diff) | |
download | ceph-6d07fdb6bb33b1af39833b850bb6cf8af79fe293.tar.xz ceph-6d07fdb6bb33b1af39833b850bb6cf8af79fe293.zip |
Adding upstream version 16.2.11+ds.upstream/16.2.11+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | src/jaegertracing/thrift/lib/java/code_quality_tools/findbugs-filter.xml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/jaegertracing/thrift/lib/java/code_quality_tools/findbugs-filter.xml b/src/jaegertracing/thrift/lib/java/code_quality_tools/findbugs-filter.xml new file mode 100644 index 000000000..8a93b0ad0 --- /dev/null +++ b/src/jaegertracing/thrift/lib/java/code_quality_tools/findbugs-filter.xml @@ -0,0 +1,51 @@ +<FindBugsFilter> + <!-- + This file controls filtering some of the more obnoxious findbugs reports. + Some may be worthy of examination and resolution, others are too nit-picky. + --> + <Match> + <Or> + <!-- Filter the missing serialVersionUID errors --> + <Bug code="SnVI" /> + <!-- Filter Malicious code vulnerability Warnings --> + <Bug code="EI,EI2" /> + <!-- Filter Unchecked/unconfirmed cast --> + <Bug code="BC" /> + <!-- Filter Should return a zero length array rather than null? --> + <Bug code="PZLA" /> + <!-- Filter Redundant nullcheck --> + <Bug code="RCN" /> + <!-- Filter Exception is caught when Exception is not thrown --> + <Bug code="REC" /> + <!-- Filter Switch statement found where default case is missing --> + <Bug code="SF" /> + <!-- Filter Unread public/protected field --> + <Bug code="UrF" /> + <!-- Filter Field not initialized in constructor and dereferenced --> + <Bug code="UwF" /> + </Or> + </Match> + <Match> + <!-- Filter method invokes System.exit(...), which shuts down the entire virtual machine --> + <Class name="org.apache.thrift.transport.TFileTransport" /> + <Method name="printUsage" /> + <Bug code="Dm" /> + </Match> + <Match> + <!-- Filter method might ignore java.lang.Exception --> + <Class name="org.apache.thrift.transport.TSimpleFileTransport" /> + <Method name="close" /> + <Bug code="DE" /> + </Match> + <Match> + <!-- Filter method might ignore java.lang.Exception --> + <Class name="org.apache.thrift.TNonblockingMultiFetchClient$MultiFetch" /> + <Method name="run" /> + <Bug code="DE" /> + </Match> + <Match> + <!-- Filter Class defines non-transient non-serializable instance field --> + <Class name="org.apache.thrift.server.TServlet" /> + <Bug code="Se" /> + </Match> +</FindBugsFilter> |