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 269d8f3d6b..3746710789 100644 --- a/src/main/java/org/springframework/data/redis/serializer/GenericJackson2JsonRedisSerializer.java +++ b/src/main/java/org/springframework/data/redis/serializer/GenericJackson2JsonRedisSerializer.java @@ -589,6 +589,7 @@ public ObjectMapper.DefaultTypeResolverBuilder withDefaultImpl(Class defaultI * Boolean, Integer, Double) will never use typing; that is both due to them being concrete and final, and since * actual serializers and deserializers will also ignore any attempts to enforce typing. */ + @Override public boolean useForType(JavaType javaType) { if (javaType.isJavaLangObject()) {