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:
@@ -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> {
|
||||
|
||||
|
||||
@@ -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}.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user