8220480: Typo in java.net.http.HttpResponse.BodySubscriber documentation
Reviewed-by: alanb
--- a/src/java.net.http/share/classes/java/net/http/HttpResponse.java Wed Mar 13 11:31:00 2019 +0100
+++ b/src/java.net.http/share/classes/java/net/http/HttpResponse.java Wed Mar 13 12:02:04 2019 +0000
@@ -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 @@
/**
* 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}<{@link List}<{@link
* ByteBuffer}>> to the HTTP Client implementation, which publishes