From f2aaa615ebab15c614d52617268920c8fdfd1a84 Mon Sep 17 00:00:00 2001 From: Bjørn Christian Seime Date: Thu, 23 May 2019 21:15:20 +0200 Subject: Annotate MethodHandler as functional interface --- jrt/src/com/yahoo/jrt/MethodHandler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/jrt/src/com/yahoo/jrt/MethodHandler.java b/jrt/src/com/yahoo/jrt/MethodHandler.java index 84fa100bf2d..f72e196e46a 100644 --- a/jrt/src/com/yahoo/jrt/MethodHandler.java +++ b/jrt/src/com/yahoo/jrt/MethodHandler.java @@ -10,6 +10,7 @@ package com.yahoo.jrt; * or with reflection. This choice is reflected by the two different * constructors in the {@link Method} class.

**/ +@FunctionalInterface public interface MethodHandler { /** -- cgit v1.2.3