提交 1565a815 编写于 作者: N Nikita Koksharov

NPE assertion added in RedisConnection.updateChannel() method

上级 90e2e482
......@@ -127,6 +127,9 @@ public class RedisConnection implements RedisCommands {
}
public void updateChannel(Channel channel) {
if (channel == null) {
throw new NullPointerException();
}
this.channel = channel;
channel.attr(CONNECTION).set(this);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册