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 f989e27802..1226992427 100644 --- a/src/main/java/org/springframework/data/redis/serializer/GenericJackson2JsonRedisSerializer.java +++ b/src/main/java/org/springframework/data/redis/serializer/GenericJackson2JsonRedisSerializer.java @@ -636,6 +636,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()) {