DATAREDIS-461 - Deprecate support for org.codehaus.jackson based Serializers and Mappers.

This commit is contained in:
Christoph Strobl
2016-02-12 09:50:18 +01:00
parent c2911d4f96
commit 32c5512dda
2 changed files with 7 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2011-2014 the original author or authors.
* Copyright 2011-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,7 +28,9 @@ import org.codehaus.jackson.type.JavaType;
* @author Costin Leau
* @author Thomas Darimont
* @author Christoph Strobl
* @deprecated since 1.7. Will be removed in subsequent version.
*/
@Deprecated
public class JacksonHashMapper<T> implements HashMapper<T, String, Object> {
private final ObjectMapper mapper;

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2011-2014 the original author or authors.
* Copyright 2011-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,7 +31,10 @@ import org.springframework.util.Assert;
*
* @author Costin Leau
* @author Thomas Darimont
* @author Christoph Strobl
* @deprecated ince 1.7. Will be removed in subsequent version.
*/
@Deprecated
public class JacksonJsonRedisSerializer<T> implements RedisSerializer<T> {
public static final Charset DEFAULT_CHARSET = Charset.forName("UTF-8");