http-client-branch: restore inadvertantly removed @FunctionalInterface http-client-branch
authorchegar
Tue, 23 Jan 2018 14:10:14 +0000
branchhttp-client-branch
changeset 56038 e663f24e3020
parent 56037 c026ce4a1a81
child 56039 01739771e48b
http-client-branch: restore inadvertantly removed @FunctionalInterface
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 <T> the response body type
      */
+    @FunctionalInterface
     public interface BodyHandler<T> {
         /**
          * Returns a {@link BodySubscriber BodySubscriber} considering the given