aboutsummaryrefslogtreecommitdiffstats
path: root/findbugs-exclude.xml
diff options
context:
space:
mode:
authorKristen Kozak <sebright@google.com>2017-04-12 16:38:04 -0700
committerKristen Kozak <sebright@google.com>2017-04-17 11:12:20 -0700
commitb27b1c79afc2478346c42701344185c9fc44b384 (patch)
treecc048f1fc90d940089bfc13e46ba85fcc2893db7 /findbugs-exclude.xml
parent4bbc4a676a55f8ec8162965151550f4b08e5cdbe (diff)
downloadplatform_external_opencensus-java-b27b1c79afc2478346c42701344185c9fc44b384.tar.gz
platform_external_opencensus-java-b27b1c79afc2478346c42701344185c9fc44b384.tar.bz2
platform_external_opencensus-java-b27b1c79afc2478346c42701344185c9fc44b384.zip
Suppress a FindBugs warning.
Diffstat (limited to 'findbugs-exclude.xml')
-rw-r--r--findbugs-exclude.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/findbugs-exclude.xml b/findbugs-exclude.xml
new file mode 100644
index 00000000..47d8167f
--- /dev/null
+++ b/findbugs-exclude.xml
@@ -0,0 +1,8 @@
+<FindBugsFilter>
+ <Match>
+ <!-- Reason: Null has a different meaning than a zero-length array in this case. -->
+ <Bug pattern="PZLA_PREFER_ZERO_LENGTH_ARRAYS"/>
+ <Class name="com.google.instrumentation.stats.MutableDistribution" />
+ <Method name="getBucketCountsArray" />
+ </Match>
+</FindBugsFilter>