Polish javadoc of status method on WebFluxTags and WebMvcTags

This commit is contained in:
Andy Wilkinson
2018-09-18 11:29:28 +01:00
parent d7d5cbf959
commit 6020cb67d3
2 changed files with 3 additions and 3 deletions

View File

@@ -60,10 +60,10 @@ public final class WebFluxTags {
}
/**
* Creates a {@code method} tag based on the response status of the given
* Creates a {@code status} tag based on the response status of the given
* {@code exchange}.
* @param exchange the exchange
* @return the "status" tag derived from the response status
* @return the status tag derived from the response status
*/
public static Tag status(ServerWebExchange exchange) {
HttpStatus status = exchange.getResponse().getStatusCode();

View File

@@ -64,7 +64,7 @@ public final class WebMvcTags {
}
/**
* Creates a {@code method} tag based on the status of the given {@code response}.
* Creates a {@code status} tag based on the status of the given {@code response}.
* @param response the HTTP response
* @return the status tag derived from the status of the response
*/