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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user