From d60aedb930662ee0815c4b850102cff095fb5517 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 26 Nov 2017 09:33:49 +0000 Subject: [PATCH] Deprecate TypeAlias.getValue() in favour of map() --- src/main/java/net/kemitix/mon/TypeAlias.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/kemitix/mon/TypeAlias.java b/src/main/java/net/kemitix/mon/TypeAlias.java index f5e7636..4027e37 100644 --- a/src/main/java/net/kemitix/mon/TypeAlias.java +++ b/src/main/java/net/kemitix/mon/TypeAlias.java @@ -81,7 +81,9 @@ public abstract class TypeAlias { * Get the value of the type alias. * * @return the value + * @deprecated try using {@link #map(Function)} */ + @Deprecated public T getValue() { return value; }