diff options
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. --> |
