changeset 54096:acf36e8d61c6

8220480: Typo in java.net.http.HttpResponse.BodySubscriber documentation Reviewed-by: alanb
author chegar
date Wed, 13 Mar 2019 12:02:04 +0000
parents 8b4a1177202d
children 9fc262a75638
files src/java.net.http/share/classes/java/net/http/HttpResponse.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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}&lt;{@link List}&lt;{@link
      * ByteBuffer}&gt;&gt; to the HTTP Client implementation, which publishes