8220480: Typo in java.net.http.HttpResponse.BodySubscriber documentation

Reviewed-by: alanb
This commit is contained in:
Chris Hegarty 2019-03-13 12:02:04 +00:00
parent a0847b0416
commit bcdbc436ec

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -828,7 +828,7 @@ public interface HttpResponse<T> {
/**
* A {@code BodySubscriber} consumes response body bytes and converts them
* into a higher-level Java type. The class {@link BodySubscribers
* BodySubscriber} provides implementations of many common body subscribers.
* BodySubscribers} provides implementations of many common body subscribers.
*
* <p> The object acts as a {@link Flow.Subscriber}&lt;{@link List}&lt;{@link
* ByteBuffer}&gt;&gt; to the HTTP Client implementation, which publishes