Deprecate TypeAlias.getValue() in favour of map()
This commit is contained in:
parent
2a28507ae9
commit
d60aedb930
1 changed files with 2 additions and 0 deletions
|
@ -81,7 +81,9 @@ public abstract class TypeAlias<T> {
|
||||||
* Get the value of the type alias.
|
* Get the value of the type alias.
|
||||||
*
|
*
|
||||||
* @return the value
|
* @return the value
|
||||||
|
* @deprecated try using {@link #map(Function)}
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public T getValue() {
|
public T getValue() {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue