From 5cd2e7affeda7a4d9394ea644eb860c829c931fe Mon Sep 17 00:00:00 2001 From: imhao183 Date: Mon, 2 Dec 2019 15:21:04 +0800 Subject: [PATCH] fix build error --- .../main/java/io/moquette/persistence/MemoryMessagesStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/broker/src/main/java/io/moquette/persistence/MemoryMessagesStore.java b/broker/src/main/java/io/moquette/persistence/MemoryMessagesStore.java index 9c07b14ab..f6d30e641 100755 --- a/broker/src/main/java/io/moquette/persistence/MemoryMessagesStore.java +++ b/broker/src/main/java/io/moquette/persistence/MemoryMessagesStore.java @@ -111,7 +111,7 @@ public class MemoryMessagesStore implements IMessagesStore { private final DatabaseStore databaseStore; private ConcurrentHashMap userMaxPullSeq = new ConcurrentHashMap<>(); - private AtomicReference mSensitiveFilter; + private AtomicReference mSensitiveFilter = new AtomicReference<>(); private volatile long lastUpdateSensitiveTime = 0; private ConcurrentHashMap userGlobalSlientMap = new ConcurrentHashMap<>();