sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1613877 - /sling/trunk/bundles/commons/mime/src/main/java/org/apache/sling/commons/mime/internal/MimeTypeServiceImpl.java
Date Mon, 28 Jul 2014 06:33:52 GMT
Author: cziegeler
Date: Mon Jul 28 06:33:52 2014
New Revision: 1613877

URL: http://svn.apache.org/r1613877
Log:
SLING-3793 : Field in MimeTypeServiceImpl must be declared volatile

Modified:
    sling/trunk/bundles/commons/mime/src/main/java/org/apache/sling/commons/mime/internal/MimeTypeServiceImpl.java

Modified: sling/trunk/bundles/commons/mime/src/main/java/org/apache/sling/commons/mime/internal/MimeTypeServiceImpl.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/commons/mime/src/main/java/org/apache/sling/commons/mime/internal/MimeTypeServiceImpl.java?rev=1613877&r1=1613876&r2=1613877&view=diff
==============================================================================
--- sling/trunk/bundles/commons/mime/src/main/java/org/apache/sling/commons/mime/internal/MimeTypeServiceImpl.java
(original)
+++ sling/trunk/bundles/commons/mime/src/main/java/org/apache/sling/commons/mime/internal/MimeTypeServiceImpl.java
Mon Jul 28 06:33:52 2014
@@ -65,7 +65,7 @@ public class MimeTypeServiceImpl impleme
     private static final String PROP_MIME_TYPES = "mime.types";
 
     @Reference(cardinality=ReferenceCardinality.OPTIONAL_UNARY, policy=ReferencePolicy.DYNAMIC)
-    private LogService logService;
+    private volatile LogService logService;
 
     private Map<String, String> mimeTab = new HashMap<String, String>();
 



Mime
View raw message