# HG changeset patch # User chegar # Date 1516716614 0 # Node ID e663f24e3020c850d22978860a57ae9e5e2d63e2 # Parent c026ce4a1a81640f20beb79f2840342c61415a09 http-client-branch: restore inadvertantly removed @FunctionalInterface diff -r c026ce4a1a81 -r e663f24e3020 src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpResponse.java --- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpResponse.java Tue Jan 23 13:54:34 2018 +0000 +++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/HttpResponse.java Tue Jan 23 14:10:14 2018 +0000 @@ -361,6 +361,7 @@ * * @param the response body type */ + @FunctionalInterface public interface BodyHandler { /** * Returns a {@link BodySubscriber BodySubscriber} considering the given