DATAREDIS-1058 - Fix typo in assert message.

There is a typo in the message string: Pleaes -> Please.

Original pull request: #492.
This commit is contained in:
maoshuai
2019-11-04 21:42:18 +08:00
committed by Mark Paluch
parent a7c26e1cb3
commit 933924fbd0

View File

@@ -35,6 +35,7 @@ import com.fasterxml.jackson.databind.ser.std.StdSerializer;
/**
* @author Christoph Strobl
* @author Mao Shuai
* @since 1.6
*/
public class GenericJackson2JsonRedisSerializer implements RedisSerializer<Object> {
@@ -120,7 +121,7 @@ public class GenericJackson2JsonRedisSerializer implements RedisSerializer<Objec
public <T> T deserialize(@Nullable byte[] source, Class<T> 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;