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:16:28 -0700 |
commit | ba8aea851d53764ec2cd45ccb76ff224c8846358 (patch) | |
tree | a9665f00a2315a9e12e43f0a99f47ab8b16cf86a /findbugs-exclude.xml | |
parent | 1e09da2b34cce91cab3bd40290a0e16d60042afe (diff) | |
download | opencensus-java-ba8aea851d53764ec2cd45ccb76ff224c8846358.tar.gz |
Remove usages of Guava Precondtions from opencensus-api (issue #1081).
This commit replaces the most commonly used precondtion checks with methods in
a new utility class, io.opencensus.internal.Utils.
Diffstat (limited to 'findbugs-exclude.xml')
-rw-r--r-- | findbugs-exclude.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/findbugs-exclude.xml b/findbugs-exclude.xml index 9de28c1c..094bd2fa 100644 --- a/findbugs-exclude.xml +++ b/findbugs-exclude.xml @@ -22,6 +22,12 @@ <Bug pattern="BC_UNCONFIRMED_CAST"/> <Class name="io.opencensus.trace.internal.BaseMessageEventUtils" /> </Match> + <Match> + <!-- Reason: This test is testing for a NPE. --> + <Bug pattern="NP_NONNULL_PARAM_VIOLATION"/> + <Class name="io.opencensus.internal.UtilsTest" /> + <Method name="checkNotNull" /> + </Match> <!-- Suppress some FindBugs warnings related to performance or robustness --> <!-- in test classes, where those issues are less important. --> |