Skip to content
Permalink
Browse files
8254704: Add missing @SInCE tag to BodyPublishers::concat
Reviewed-by: chegar
  • Loading branch information
dfuch committed Oct 13, 2020
1 parent 3fb2e82 commit 6ed4c89dc81558dd56e65412bbdc3c239d716b2a
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/java.net.http/share/classes/java/net/http/HttpRequest.java
@@ -703,6 +703,8 @@ public static BodyPublisher noBody() {
* @return An aggregate publisher that publishes a request body
* logically equivalent to the concatenation of all bytes published
* by each publisher in the sequence.
*
* @since 16
*/
public static BodyPublisher concat(BodyPublisher... publishers) {
return RequestPublishers.concat(Objects.requireNonNull(publishers));

1 comment on commit 6ed4c89

@bridgekeeper

This comment has been minimized.

Copy link

@bridgekeeper bridgekeeper bot commented on 6ed4c89 Oct 13, 2020

Please sign in to comment.