You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:48:58 UTC

[sling-org-apache-sling-jcr-registration] 03/07: 3800 : Fields for dynamic references must be volatile

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

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

commit ae5896c7fc31080d6cf21b5499557a713d49c71a
Author: Carsten Ziegeler <cz...@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/bundles/jcr/registration@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" <co...@sling.apache.org>.