sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject [sling-org-apache-sling-jcr-registration] 20/33: 3800 : Fields for dynamic references must be volatile
Date Wed, 18 Oct 2017 23:21:53 GMT
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-registration.git

commit 2f98a6e35f0fc48d11849a37d6902b8b1da3c627
Author: Carsten Ziegeler <cziegeler@apache.org>
AuthorDate: Mon Jul 28 06:54:37 2014 +0000

    3800 : Fields for dynamic references must be volatile
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1613891 13f79535-47bb-0310-9956-ffa450edef68
---
 .../org/apache/sling/jcr/registration/AbstractRegistrationSupport.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/jcr/registration/AbstractRegistrationSupport.java
b/src/main/java/org/apache/sling/jcr/registration/AbstractRegistrationSupport.java
index 202002b..95803b2 100644
--- a/src/main/java/org/apache/sling/jcr/registration/AbstractRegistrationSupport.java
+++ b/src/main/java/org/apache/sling/jcr/registration/AbstractRegistrationSupport.java
@@ -69,7 +69,7 @@ public abstract class AbstractRegistrationSupport {
      * logging correctly.
      */
     @Reference(cardinality = ReferenceCardinality.OPTIONAL_UNARY, policy = ReferencePolicy.DYNAMIC)
-    private LogService log;
+    private volatile LogService log;
 
     /**
      * The OSGi ComponentContext.

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <commits@sling.apache.org>.

Mime
View raw message