summaryrefslogtreecommitdiffstats
path: root/prh-app-server
diff options
context:
space:
mode:
authorgrabinsk <maciej.grabinski@nokia.com>2019-06-17 09:25:58 +0200
committergrabinsk <maciej.grabinski@nokia.com>2019-06-17 09:25:58 +0200
commit34fd4b0be81878f74eec698d81ea1eea03ec1a2c (patch)
tree24951b7f2b882f3d433e6500130488dbcb485892 /prh-app-server
parent4117c9fd7fcea895e18872e0d541e0f14a9a41b9 (diff)
cbs config refresh scheduler bugfix
(inappropriate transient usage where volatile expected) Change-Id: I5208ff889e55530276e4605e591ff6b681d1e096 Issue-ID: DCAEGEN2-1544 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
Diffstat (limited to 'prh-app-server')
-rw-r--r--prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/CbsConfigRefreshScheduler.java2
1 files changed, 1 insertions, 1 deletions
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) {