Deprecate TypeAlias.getValue() in favour of map()

This commit is contained in:
Paul Campbell 2017-11-26 09:33:49 +00:00
parent 2a28507ae9
commit d60aedb930

View file

@ -81,7 +81,9 @@ public abstract class TypeAlias<T> {
* Get the value of the type alias.
*
* @return the value
* @deprecated try using {@link #map(Function)}
*/
@Deprecated
public T getValue() {
return value;
}