You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by tm...@apache.org on 2020/09/25 12:16:09 UTC

[sling-org-apache-sling-distribution-journal] branch master updated: SLING-9717 - avoid false positive sonar report for volatile field

This is an automated email from the ASF dual-hosted git repository.

tmaret pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-journal.git


The following commit(s) were added to refs/heads/master by this push:
     new 2a871c2  SLING-9717 - avoid false positive sonar report for volatile field
2a871c2 is described below

commit 2a871c2bb27ddf8027810966b431ac3aa3668674
Author: tmaret <tm...@adobe.com>
AuthorDate: Fri Sep 25 14:15:49 2020 +0200

    SLING-9717 - avoid false positive sonar report for volatile field
---
 .../distribution/journal/impl/subscriber/DistributionSubscriber.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/DistributionSubscriber.java b/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/DistributionSubscriber.java
index ada39a4..8aac747 100644
--- a/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/DistributionSubscriber.java
+++ b/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/DistributionSubscriber.java
@@ -114,11 +114,11 @@ public class DistributionSubscriber {
     @Reference
     private SubscriberReadyStore subscriberReadyStore;
     
-    private volatile IdleCheck idleCheck;
+    private volatile IdleCheck idleCheck; //NOSONAR
     
     private Closeable packagePoller;
 
-    private volatile CommandPoller commandPoller;
+    private volatile CommandPoller commandPoller; //NOSONAR
 
     private BookKeeper bookKeeper;