aboutsummaryrefslogtreecommitdiff
path: root/findbugs-exclude.xml
diff options
context:
space:
mode:
authorBogdan Drutu <bdrutu@google.com>2018-08-20 16:38:36 -0700
committerGitHub <noreply@github.com>2018-08-20 16:38:36 -0700
commit847bdcb323507916f2c9d851fc86228ec74ef038 (patch)
tree96aa7e93abc6ddca780903e3b96b5106076dde05 /findbugs-exclude.xml
parent2b31689d9a8ea27e5c9204ca034a84d5d776dece (diff)
downloadopencensus-java-847bdcb323507916f2c9d851fc86228ec74ef038.tar.gz
Implement CurrentStatsState using atomic variables. (#1377)
* Implement CurrentStatsState using atomic variables. * Ignore findbugs warning and add changelog comments.
Diffstat (limited to 'findbugs-exclude.xml')
-rw-r--r--findbugs-exclude.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/findbugs-exclude.xml b/findbugs-exclude.xml
index 78b915b9..b4214026 100644
--- a/findbugs-exclude.xml
+++ b/findbugs-exclude.xml
@@ -41,6 +41,11 @@
<Class name="io.opencensus.contrib.appengine.standard.util.TraceIdProto$Builder"/>
<Method name="maybeForceBuilderInitialization"/>
</Match>
+ <Match>
+ <!-- Reason: The synchronization in the setState is for the side effects not for the state. -->
+ <Bug pattern="UG_SYNC_SET_UNSYNC_GET"/>
+ <Class name="io.opencensus.implcore.stats.StatsComponentImplBase"/>
+ </Match>
<!-- Suppress some FindBugs warnings related to performance or robustness -->
<!-- in test classes, where those issues are less important. -->