提交 7dda7626 编写于 作者: N Nikita Koksharov

Fixed NPE in RedissonSession #1971

上级 4b023aa3
......@@ -60,7 +60,7 @@ public class RedissonSession extends StandardSession {
private final RedissonSessionManager.ReadMode readMode;
private final UpdateMode updateMode;
private Set<String> removedAttributes;
private Set<String> removedAttributes = Collections.emptySet();
public RedissonSession(RedissonSessionManager manager, ReadMode readMode, UpdateMode updateMode) {
super(manager);
......
......@@ -60,7 +60,7 @@ public class RedissonSession extends StandardSession {
private final RedissonSessionManager.ReadMode readMode;
private final UpdateMode updateMode;
private Set<String> removedAttributes;
private Set<String> removedAttributes = Collections.emptySet();
public RedissonSession(RedissonSessionManager manager, RedissonSessionManager.ReadMode readMode, UpdateMode updateMode) {
super(manager);
......
......@@ -60,7 +60,7 @@ public class RedissonSession extends StandardSession {
private final RedissonSessionManager.ReadMode readMode;
private final UpdateMode updateMode;
private Set<String> removedAttributes;
private Set<String> removedAttributes = Collections.emptySet();
public RedissonSession(RedissonSessionManager manager, RedissonSessionManager.ReadMode readMode, UpdateMode updateMode) {
super(manager);
......
......@@ -60,7 +60,7 @@ public class RedissonSession extends StandardSession {
private final RedissonSessionManager.ReadMode readMode;
private final UpdateMode updateMode;
private Set<String> removedAttributes;
private Set<String> removedAttributes = Collections.emptySet();
public RedissonSession(RedissonSessionManager manager, RedissonSessionManager.ReadMode readMode, UpdateMode updateMode) {
super(manager);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册