diff --git a/src/main/java/org/springframework/data/redis/core/convert/MappingRedisConverter.java b/src/main/java/org/springframework/data/redis/core/convert/MappingRedisConverter.java index 8f550532b..42740e35c 100644 --- a/src/main/java/org/springframework/data/redis/core/convert/MappingRedisConverter.java +++ b/src/main/java/org/springframework/data/redis/core/convert/MappingRedisConverter.java @@ -298,7 +298,7 @@ public class MappingRedisConverter implements RedisConverter, InitializingBean { byte[] sourceBytes = source.getBucket().get(currentPath); - if(typeInformation.getType().isPrimitive() && sourceBytes == null) { + if (typeInformation.getType().isPrimitive() && sourceBytes == null) { return null; }