DATAREDIS-1021 - Fix not null assertion in KeyCommands.

This commit is contained in:
Christoph Strobl
2019-08-19 09:51:52 +02:00
parent 3fad6e5adc
commit 07099dc833
2 changed files with 2 additions and 2 deletions

View File

@@ -105,7 +105,7 @@ class JedisKeyCommands implements RedisKeyCommands {
@Override
public Long del(byte[]... keys) {
Assert.noNullElements(keys, "Keys must not be null!");
Assert.notNull(keys, "Keys must not be null!");
Assert.noNullElements(keys, "Keys must not contain null elements!");
try {

View File

@@ -111,7 +111,7 @@ class LettuceKeyCommands implements RedisKeyCommands {
@Override
public Long del(byte[]... keys) {
Assert.noNullElements(keys, "Keys must not be null!");
Assert.notNull(keys, "Keys must not be null!");
Assert.noNullElements(keys, "Keys must not contain null elements!");
try {