diff options
author | Bogdan Drutu <bdrutu@google.com> | 2018-08-28 14:40:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-28 14:40:27 -0700 |
commit | eabc800c3749ca6f8e3a17f057ae11c8d1385d0c (patch) | |
tree | 3abf79995ac893ae49f8de9d68e6aa4c97277784 /findbugs-exclude.xml | |
parent | 884015cffa807a168e26ce36e8ae6d5ab426d8bb (diff) | |
download | opencensus-java-eabc800c3749ca6f8e3a17f057ae11c8d1385d0c.tar.gz |
Avoid doing string formatting when calling checkArgument. (#1394)
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 b4214026..014f9a9b 100644 --- a/findbugs-exclude.xml +++ b/findbugs-exclude.xml @@ -29,6 +29,12 @@ <Method name="checkNotNull"/> </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_NullErrorMessage"/> + </Match> + <Match> <!-- Reason: It seems like FindBugs incorrectly assumes that all --> <!-- Throwables are subclasses of Error or Exception. --> <Bug pattern="BC_VACUOUS_INSTANCEOF"/> |