diff --git a/src/main/java/org/springframework/data/redis/serializer/DefaultRedisSerializationContext.java b/src/main/java/org/springframework/data/redis/serializer/DefaultRedisSerializationContext.java index 3e7a10102..5a18e9f92 100644 --- a/src/main/java/org/springframework/data/redis/serializer/DefaultRedisSerializationContext.java +++ b/src/main/java/org/springframework/data/redis/serializer/DefaultRedisSerializationContext.java @@ -23,6 +23,7 @@ import org.springframework.util.Assert; * * @author Mark Paluch * @author Christoph Strobl + * @author Shyngys Sapraliyev * @since 2.0 */ class DefaultRedisSerializationContext implements RedisSerializationContext { @@ -169,7 +170,7 @@ class DefaultRedisSerializationContext implements RedisSerializationContex Assert.notNull(keyTuple, "Key SerializationPair must not be null!"); Assert.notNull(valueTuple, "Value SerializationPair must not be null!"); Assert.notNull(hashKeyTuple, "HashKey SerializationPair must not be null!"); - Assert.notNull(hashValueTuple, "ValueKey SerializationPair must not be null!"); + Assert.notNull(hashValueTuple, "HashValue SerializationPair must not be null!"); return new DefaultRedisSerializationContext<>(keyTuple, valueTuple, hashKeyTuple, hashValueTuple, stringTuple);