Skip to content

Commit 32c5512

Browse files
DATAREDIS-461 - Deprecate support for org.codehaus.jackson based Serializers and Mappers.
1 parent c2911d4 commit 32c5512

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/main/java/org/springframework/data/redis/hash/JacksonHashMapper.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2011-2014 the original author or authors.
2+
* Copyright 2011-2016 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -28,7 +28,9 @@
2828
* @author Costin Leau
2929
* @author Thomas Darimont
3030
* @author Christoph Strobl
31+
* @deprecated since 1.7. Will be removed in subsequent version.
3132
*/
33+
@Deprecated
3234
public class JacksonHashMapper<T> implements HashMapper<T, String, Object> {
3335

3436
private final ObjectMapper mapper;

src/main/java/org/springframework/data/redis/serializer/JacksonJsonRedisSerializer.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2011-2014 the original author or authors.
2+
* Copyright 2011-2016 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -31,7 +31,10 @@
3131
*
3232
* @author Costin Leau
3333
* @author Thomas Darimont
34+
* @author Christoph Strobl
35+
* @deprecated ince 1.7. Will be removed in subsequent version.
3436
*/
37+
@Deprecated
3538
public class JacksonJsonRedisSerializer<T> implements RedisSerializer<T> {
3639

3740
public static final Charset DEFAULT_CHARSET = Charset.forName("UTF-8");

0 commit comments

Comments
 (0)