Merge pull request #765 from izeye

* gh-765:
  Polish "Fix typo in OperationResponseFactory Javadoc"
  Fix typo in OperationResponseFactory Javadoc

Closes gh-765
This commit is contained in:
Andy Wilkinson
2022-01-04 11:49:41 +00:00

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2021 the original author or authors.
* Copyright 2014-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,8 +31,8 @@ public class OperationResponseFactory {
* {@code headers} will be augmented to ensure that they include a
* {@code Content-Length} header.
* @param status the status of the response
* @param headers the request's headers
* @param content the content of the request
* @param headers the response's headers
* @param content the content of the response
* @return the {@code OperationResponse}
* @deprecated since 2.0.4 in favor of {@link #create(int, HttpHeaders, byte[])}
*/
@@ -46,8 +46,8 @@ public class OperationResponseFactory {
* {@code headers} will be augmented to ensure that they include a
* {@code Content-Length} header.
* @param status the status of the response
* @param headers the request's headers
* @param content the content of the request
* @param headers the response's headers
* @param content the content of the response
* @return the {@code OperationResponse}
*/
public OperationResponse create(int status, HttpHeaders headers, byte[] content) {