diff options
author | Bogdan Drutu <bdrutu@google.com> | 2018-08-20 16:38:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-20 16:38:36 -0700 |
commit | 847bdcb323507916f2c9d851fc86228ec74ef038 (patch) | |
tree | 96aa7e93abc6ddca780903e3b96b5106076dde05 /findbugs-exclude.xml | |
parent | 2b31689d9a8ea27e5c9204ca034a84d5d776dece (diff) | |
download | opencensus-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.xml | 5 |
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. --> |