DATAREDIS-692 - Deprecate Version.

Spring Data Commons provides org.springframework.data.util.Version so we no longer require to use our own one.

Original pull request: #277.
This commit is contained in:
Mark Paluch
2017-09-19 12:20:51 +02:00
parent 1b2e74c82f
commit bb6aa8acd2
2 changed files with 5 additions and 3 deletions

View File

@@ -17,9 +17,10 @@ package org.springframework.data.redis;
/**
* A {@link Comparable} software version
*
*
* @author Jennifer Hickey
* @author Christoph Strobl
* @deprecated since 2.0, use {@link org.springframework.data.util.Version}.
*/
public class Version implements Comparable<Version> {

View File

@@ -22,9 +22,10 @@ import org.springframework.lang.Nullable;
/**
* Central class for reading version string (eg. {@literal 1.3.1}) into {@link Version}.
*
*
* @author Christoph Strobl
* @since 1.3
* @deprecated since 2.0, use {@link org.springframework.data.util.Version}.
*/
public class VersionParser {
@@ -32,7 +33,7 @@ public class VersionParser {
/**
* Parse version string {@literal eg. 1.1.1} to {@link Version}.
*
*
* @param version can be {@literal null}.
* @return never {@literal null}.
*/