diff --git a/spring-restdocs-core/src/main/java/org/springframework/restdocs/operation/OperationResponseFactory.java b/spring-restdocs-core/src/main/java/org/springframework/restdocs/operation/OperationResponseFactory.java index dd658ce1..3b9c9914 100644 --- a/spring-restdocs-core/src/main/java/org/springframework/restdocs/operation/OperationResponseFactory.java +++ b/spring-restdocs-core/src/main/java/org/springframework/restdocs/operation/OperationResponseFactory.java @@ -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) {