Skip to content

Commit 7f7f249

Browse files
committed
Polishing
1 parent 76f84b9 commit 7f7f249

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

spring-web/src/main/java/org/springframework/http/server/ServletServerHttpRequest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ public ServerHttpAsyncRequestControl getAsyncRequestControl(ServerHttpResponse r
175175
}
176176

177177

178-
179178
private static boolean isFormPost(HttpServletRequest request) {
180179
String contentType = request.getContentType();
181180
return (contentType != null && contentType.contains(FORM_CONTENT_TYPE) &&
@@ -185,8 +184,8 @@ private static boolean isFormPost(HttpServletRequest request) {
185184
/**
186185
* Use {@link javax.servlet.ServletRequest#getParameterMap()} to reconstruct the
187186
* body of a form 'POST' providing a predictable outcome as opposed to reading
188-
* from the body, which can fail if any other code has used ServletRequest
189-
* to access a parameter thus causing the input stream to be "consumed".
187+
* from the body, which can fail if any other code has used the ServletRequest
188+
* to access a parameter, thus causing the input stream to be "consumed".
190189
*/
191190
private static InputStream getBodyFromServletRequestParameters(HttpServletRequest request) throws IOException {
192191
ByteArrayOutputStream bos = new ByteArrayOutputStream(1024);

src/asciidoc/core-beans.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8138,8 +8138,8 @@ available to the context so one can use them for conditional event processing:
81388138

81398139
| __argument name__
81408140
| evaluation context
8141-
| Name of any of the method argument. If for some reason the names are not available
8142-
(ex: no debug information), the argument names are also available under the `#a<#arg>`
8141+
| Name of any of the method arguments. If for some reason the names are not available
8142+
(e.g. no debug information), the argument names are also available under the `#a<#arg>`
81438143
where __#arg__ stands for the argument index (starting from 0).
81448144
| `#iban` or `#a0` (one can also use `#p0` or `#p<#arg>` notation as an alias).
81458145
|===

src/asciidoc/integration.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8462,8 +8462,8 @@ conditional computations:
84628462

84638463
| __argument name__
84648464
| evaluation context
8465-
| Name of any of the method argument. If for some reason the names are not available
8466-
(ex: no debug information), the argument names are also available under the `#a<#arg>`
8465+
| Name of any of the method arguments. If for some reason the names are not available
8466+
(e.g. no debug information), the argument names are also available under the `#a<#arg>`
84678467
where __#arg__ stands for the argument index (starting from 0).
84688468
| `#iban` or `#a0` (one can also use `#p0` or `#p<#arg>` notation as an alias).
84698469

0 commit comments

Comments
 (0)