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:36:46 UTC
[sling-org-apache-sling-fsresource] 10/14: 3804 : 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.fsresource-1.1.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-fsresource.git
commit 9584f16d5ff3447983a68c9a2a2cdba92ee2dd96
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Mon Jul 28 07:05:25 2014 +0000
3804 : Fields for dynamic references must be volatile
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/fsresource@1613900 13f79535-47bb-0310-9956-ffa450edef68
---
.../java/org/apache/sling/fsprovider/internal/FsResourceProvider.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/sling/fsprovider/internal/FsResourceProvider.java b/src/main/java/org/apache/sling/fsprovider/internal/FsResourceProvider.java
index 780ebaa..bf4ba66 100644
--- a/src/main/java/org/apache/sling/fsprovider/internal/FsResourceProvider.java
+++ b/src/main/java/org/apache/sling/fsprovider/internal/FsResourceProvider.java
@@ -97,7 +97,7 @@ public class FsResourceProvider implements ResourceProvider {
private FileMonitor monitor;
@Reference(cardinality=ReferenceCardinality.OPTIONAL_UNARY, policy=ReferencePolicy.DYNAMIC)
- private EventAdmin eventAdmin;
+ private volatile EventAdmin eventAdmin;
/**
* Same as {@link #getResource(ResourceResolver, String)}, i.e. the
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.