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/10/18 23:21:53 UTC
[sling-org-apache-sling-jcr-registration] 20/33: 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 branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-registration.git
commit 2f98a6e35f0fc48d11849a37d6902b8b1da3c627
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@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>.