Polishing.

Add since tag. Reformat code.

See #2601
This commit is contained in:
Mark Paluch
2023-10-13 10:37:28 +02:00
parent c9b194c1bf
commit 89229afe54

View File

@@ -255,15 +255,15 @@ public class GenericJackson2JsonRedisSerializer implements RedisSerializer<Objec
}
/**
* Builder method used to configure and customize the internal Jackson {@link ObjectMapper} created by
* this {@link GenericJackson2JsonRedisSerializer} and used to de/serialize {@link Object objects}
* as {@literal JSON}.
* Builder method used to configure and customize the internal Jackson {@link ObjectMapper} created by this
* {@link GenericJackson2JsonRedisSerializer} and used to de/serialize {@link Object objects} as {@literal JSON}.
*
* @param objectMapperConfigurer {@link Consumer} used to configure and customize the internal {@link ObjectMapper};
* must not be {@literal null}.
* must not be {@literal null}.
* @return this {@link GenericJackson2JsonRedisSerializer}.
* @throws IllegalArgumentException if the {@link Consumer} used to configure and customize
* the internal {@link ObjectMapper} is {@literal null}.
* @throws IllegalArgumentException if the {@link Consumer} used to configure and customize the internal
* {@link ObjectMapper} is {@literal null}.
* @since 3.1.5
*/
public GenericJackson2JsonRedisSerializer configure(Consumer<ObjectMapper> objectMapperConfigurer) {