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 2c5aea40a8
commit b5addd1eba

View File

@@ -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<Object> {
@@ -139,7 +140,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;