From 2c4b7c6c4c51fb5e1531bc3418a95846f7e0b09f Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 18 Feb 2013 20:30:09 +0000 Subject: [PATCH] prevent possible multi thread issues git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447472 13f79535-47bb-0310-9956-ffa450edef68 --- .../runtime/DefaultRedbackRuntimeConfigurationAdmin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.5