diff options
author | Olivier Lamy <olamy@apache.org> | 2013-02-18 20:30:09 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2013-02-18 20:30:09 +0000 |
commit | 2c4b7c6c4c51fb5e1531bc3418a95846f7e0b09f (patch) | |
tree | 1afda1d0c31e6efc501cdd879b921fbca8b5556c /archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src | |
parent | 17545afe55adfea9c75eb1a00365e60ffa8aecdb (diff) | |
download | archiva-2c4b7c6c4c51fb5e1531bc3418a95846f7e0b09f.tar.gz archiva-2c4b7c6c4c51fb5e1531bc3418a95846f7e0b09f.zip |
prevent possible multi thread issues
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447472 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src')
1 files changed, 1 insertions, 1 deletions
diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultRedbackRuntimeConfigurationAdmin.java b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultRedbackRuntimeConfigurationAdmin.java index 52a97753d..c96b46276 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultRedbackRuntimeConfigurationAdmin.java +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultRedbackRuntimeConfigurationAdmin.java @@ -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() |