]> source.dussan.org Git - archiva.git/commitdiff
prevent possible multi thread issues
authorOlivier Lamy <olamy@apache.org>
Mon, 18 Feb 2013 20:30:09 +0000 (20:30 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 18 Feb 2013 20:30:09 +0000 (20:30 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447472 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultRedbackRuntimeConfigurationAdmin.java

index 52a97753db3539cb98d9a497717a93d2b4ed2bd9..c96b46276299497da5d718cfc8582299160506cd 100644 (file)
@@ -71,7 +71,7 @@ public class DefaultRedbackRuntimeConfigurationAdmin
     @Named( value = "cache#users" )
     private Cache usersCache;
 
-    private RedbackRuntimeConfiguration currentRedbackRuntimeConfiguration;
+    private volatile RedbackRuntimeConfiguration currentRedbackRuntimeConfiguration;
 
     @PostConstruct
     public void initialize()