sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tma...@apache.org
Subject [sling-org-apache-sling-distribution-journal] branch master updated: SLING-9717 - avoid false positive sonar report for volatile field
Date Fri, 25 Sep 2020 12:16:09 GMT
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 <tmaret@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;
 


Mime
View raw message