diff options
author | Kristen Kozak <sebright@google.com> | 2018-04-03 16:37:22 -0700 |
---|---|---|
committer | Kristen Kozak <sebright@google.com> | 2018-04-04 19:42:51 -0700 |
commit | 5d5b0f52cb724cf93af4dc7cf36258f990355c9b (patch) | |
tree | 1d2a821a0153e1cffafa316bc577eb193d6a3b4c /findbugs-exclude.xml | |
parent | 952d64323cf95aa2fe04ddb6188303bac8a5fb35 (diff) | |
download | opencensus-java-5d5b0f52cb724cf93af4dc7cf36258f990355c9b.tar.gz |
Remove usages of Guava Throwables from opencensus-api (issue #1081).
Diffstat (limited to 'findbugs-exclude.xml')
-rw-r--r-- | findbugs-exclude.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/findbugs-exclude.xml b/findbugs-exclude.xml index 094bd2fa..87002bd0 100644 --- a/findbugs-exclude.xml +++ b/findbugs-exclude.xml @@ -28,6 +28,13 @@ <Class name="io.opencensus.internal.UtilsTest" /> <Method name="checkNotNull" /> </Match> + <Match> + <!-- Reason: It seems like FindBugs incorrectly assumes that all --> + <!-- Throwables are subclasses of Error or Exception. --> + <Bug pattern="BC_VACUOUS_INSTANCEOF"/> + <Class name="io.opencensus.trace.CurrentSpanUtils$CallableInSpan" /> + <Method name="call" /> + </Match> <!-- Suppress some FindBugs warnings related to performance or robustness --> <!-- in test classes, where those issues are less important. --> |