Skip to content

Commit 25202ab

Browse files
bytestrememp911de
authored andcommitted
Fix DefaultSerializationContext assertion message.
Closes #2336
1 parent 3e83dad commit 25202ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/org/springframework/data/redis/serializer/DefaultRedisSerializationContext.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
*
2424
* @author Mark Paluch
2525
* @author Christoph Strobl
26+
* @author Shyngys Sapraliyev
2627
* @since 2.0
2728
*/
2829
class DefaultRedisSerializationContext<K, V> implements RedisSerializationContext<K, V> {
@@ -169,7 +170,7 @@ public RedisSerializationContext<K, V> build() {
169170
Assert.notNull(keyTuple, "Key SerializationPair must not be null!");
170171
Assert.notNull(valueTuple, "Value SerializationPair must not be null!");
171172
Assert.notNull(hashKeyTuple, "HashKey SerializationPair must not be null!");
172-
Assert.notNull(hashValueTuple, "ValueKey SerializationPair must not be null!");
173+
Assert.notNull(hashValueTuple, "HashValue SerializationPair must not be null!");
173174

174175
return new DefaultRedisSerializationContext<>(keyTuple, valueTuple, hashKeyTuple, hashValueTuple,
175176
stringTuple);

0 commit comments

Comments
 (0)