From 34fd4b0be81878f74eec698d81ea1eea03ec1a2c Mon Sep 17 00:00:00 2001 From: grabinsk Date: Mon, 17 Jun 2019 09:25:58 +0200 Subject: cbs config refresh scheduler bugfix (inappropriate transient usage where volatile expected) Change-Id: I5208ff889e55530276e4605e591ff6b681d1e096 Issue-ID: DCAEGEN2-1544 Signed-off-by: grabinsk --- .../dcaegen2/services/prh/configuration/CbsConfigRefreshScheduler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prh-app-server/src/main/java') diff --git a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/CbsConfigRefreshScheduler.java b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/CbsConfigRefreshScheduler.java index fc4b9dff..d87f21ed 100644 --- a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/CbsConfigRefreshScheduler.java +++ b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/CbsConfigRefreshScheduler.java @@ -46,7 +46,7 @@ public class CbsConfigRefreshScheduler { private final ContextRefresher contextRefresher; private final Environment environment; private final Scheduler scheduler; - private transient Disposable refreshEventsStreamHandle; + private volatile Disposable refreshEventsStreamHandle; public CbsConfigRefreshScheduler(ContextRefresher contextRefresher, Environment environment) { -- cgit 1.2.3-korg