diff options
author | Yang Song <songy23@users.noreply.github.com> | 2017-09-05 16:11:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-05 16:11:21 -0700 |
commit | 36a87b81fee117cdc1fe028eb12094da94277580 (patch) | |
tree | 3112ef50ad108adcc3433664c6dc51a100a078e0 /findbugs-exclude.xml | |
parent | 67528c1ac95ac0a275ca9343f828e476ff96ebe4 (diff) | |
download | opencensus-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.xml | 6 |
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> |