Fixed - object's name should be checked for null. #2493

pull/3118/head
Nikita Koksharov 5 years ago
parent d3d8c7830a
commit e2eff37bbf

@ -49,6 +49,9 @@ public abstract class RedissonObject implements RObject {
this.codec = codec;
this.name = name;
this.commandExecutor = commandExecutor;
if (name == null) {
throw new NullPointerException("name can't be null");
}
}
public RedissonObject(CommandAsyncExecutor commandExecutor, String name) {

Loading…
Cancel
Save