Add missing @Override annotation to GenericJackson2JsonRedisSerializer.useForType.
This fixes an issue where the `useForType` method in GenericJackson2JsonRedisSerializer did not have the `@Override` annotation, making it less clear that it overrides a method from DefaultTypeResolverBuilder. Closes #3053 Original pull request: #3058
This commit is contained in:
committed by
Mark Paluch
parent
904968de00
commit
5166f4c435
@@ -636,6 +636,7 @@ public class GenericJackson2JsonRedisSerializer implements RedisSerializer<Objec
|
||||
* 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()) {
|
||||
|
||||
Reference in New Issue
Block a user