general cleanup

This commit is contained in:
Oleg Zhurakousky
2018-10-26 16:11:55 +02:00
parent bf9ab3ac0a
commit 265a9d61aa
3 changed files with 3 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ import org.springframework.core.ResolvableType;
public interface JsonMapper {
/**
* @deprecated in favor of {@link #toObject(String, Type)}
* @deprecated since v2.0 in favor of {@link #toObject(String, Type)}
*/
@Deprecated
default <T> List<T> toList(String json, Class<T> type) {
@@ -45,7 +45,7 @@ public interface JsonMapper {
<T> T toObject(String json, Type type);
/**
* @deprecated in favor of {@link #toObject(String, Type)}
* @deprecated since v2.0 in favor of {@link #toObject(String, Type)}
*/
default <T> T toSingle(String json, Class<T> type) {
return toObject(json, type);