From b5addd1eba906d8c002b20f16a28fe597b68f04e Mon Sep 17 00:00:00 2001 From: maoshuai Date: Mon, 4 Nov 2019 21:42:18 +0800 Subject: [PATCH] DATAREDIS-1058 - Fix typo in assert message. There is a typo in the message string: Pleaes -> Please. Original pull request: #492. --- .../redis/serializer/GenericJackson2JsonRedisSerializer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/springframework/data/redis/serializer/GenericJackson2JsonRedisSerializer.java b/src/main/java/org/springframework/data/redis/serializer/GenericJackson2JsonRedisSerializer.java index 3bf74d656..c2620ca92 100644 --- a/src/main/java/org/springframework/data/redis/serializer/GenericJackson2JsonRedisSerializer.java +++ b/src/main/java/org/springframework/data/redis/serializer/GenericJackson2JsonRedisSerializer.java @@ -38,6 +38,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer; * * @author Christoph Strobl * @author Mark Paluch + * @author Mao Shuai * @since 1.6 */ public class GenericJackson2JsonRedisSerializer implements RedisSerializer { @@ -139,7 +140,7 @@ public class GenericJackson2JsonRedisSerializer implements RedisSerializer T deserialize(@Nullable byte[] source, Class type) throws SerializationException { Assert.notNull(type, - "Deserialization type must not be null! Pleaes provide Object.class to make use of Jackson2 default typing."); + "Deserialization type must not be null! Please provide Object.class to make use of Jackson2 default typing."); if (SerializationUtils.isEmpty(source)) { return null;