aboutsummaryrefslogtreecommitdiff
path: root/findbugs-exclude.xml
diff options
context:
space:
mode:
authorYang Song <songy23@users.noreply.github.com>2017-09-05 16:11:21 -0700
committerGitHub <noreply@github.com>2017-09-05 16:11:21 -0700
commit36a87b81fee117cdc1fe028eb12094da94277580 (patch)
tree3112ef50ad108adcc3433664c6dc51a100a078e0 /findbugs-exclude.xml
parent67528c1ac95ac0a275ca9343f828e476ff96ebe4 (diff)
downloadopencensus-java-36a87b81fee117cdc1fe028eb12094da94277580.tar.gz
Implement Duration.compareTo() (#582)
* Update Duration.compareTo() * Add check for negative duration for interval
Diffstat (limited to 'findbugs-exclude.xml')
-rw-r--r--findbugs-exclude.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/findbugs-exclude.xml b/findbugs-exclude.xml
index 119f823e..ef950976 100644
--- a/findbugs-exclude.xml
+++ b/findbugs-exclude.xml
@@ -11,5 +11,11 @@
<Class name="io.opencensus.common.Timestamp" />
<Method name="compareTo" />
</Match>
+ <Match>
+ <!-- Reason: Equal is implemented in the AutoValue generated class. -->
+ <Bug pattern="EQ_COMPARETO_USE_OBJECT_EQUALS"/>
+ <Class name="io.opencensus.common.Duration" />
+ <Method name="compareTo" />
+ </Match>
</FindBugsFilter>