summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jrt/src/com/yahoo/jrt/Method.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/jrt/src/com/yahoo/jrt/Method.java b/jrt/src/com/yahoo/jrt/Method.java
index b3c5b037f27..59006202e8f 100644
--- a/jrt/src/com/yahoo/jrt/Method.java
+++ b/jrt/src/com/yahoo/jrt/Method.java
@@ -83,7 +83,10 @@ public class Method {
*
* @throws MethodCreateException if the handler method cannot be
* resolved.
+ *
+ * @deprecated Use {@link Method#Method(String, String, String, MethodHandler)} instead.
**/
+ @Deprecated(forRemoval = true)
public Method(String name, String paramTypes, String returnTypes,
Object handler, String handlerMethod) {