Skip to content

Commit c7989c7

Browse files
committed
Polishing
1 parent f03ccd5 commit c7989c7

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

spring-web/src/main/java/org/springframework/http/codec/multipart/DefaultPartHttpMessageReader.java

+4-6
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public void setMaxParts(int maxParts) {
135135
}
136136

137137
/**
138-
* Sets the directory used to store parts larger than
138+
* Set the directory used to store parts larger than
139139
* {@link #setMaxInMemorySize(int) maxInMemorySize}. By default, a directory
140140
* named {@code spring-webflux-multipart} is created under the system
141141
* temporary directory.
@@ -154,7 +154,7 @@ public void setFileStorageDirectory(Path fileStorageDirectory) throws IOExceptio
154154
}
155155

156156
/**
157-
* Sets the Reactor {@link Scheduler} to be used for creating files and
157+
* Set the Reactor {@link Scheduler} to be used for creating files and
158158
* directories, and writing to files. By default,
159159
* {@link Schedulers#boundedElastic()} is used, but this property allows for
160160
* changing it to an externally managed scheduler.
@@ -174,13 +174,11 @@ public void setBlockingOperationScheduler(Scheduler blockingOperationScheduler)
174174
* in memory nor file.
175175
* When {@code false}, parts are backed by
176176
* in-memory and/or file storage. Defaults to {@code false}.
177-
*
178177
* <p><strong>NOTE</strong> that with streaming enabled, the
179178
* {@code Flux<Part>} that is produced by this message reader must be
180179
* consumed in the original order, i.e. the order of the HTTP message.
181180
* Additionally, the {@linkplain Part#content() body contents} must either
182181
* be completely consumed or canceled before moving to the next part.
183-
*
184182
* <p>Also note that enabling this property effectively ignores
185183
* {@link #setMaxInMemorySize(int) maxInMemorySize},
186184
* {@link #setMaxDiskUsagePerPart(long) maxDiskUsagePerPart},
@@ -192,8 +190,8 @@ public void setStreaming(boolean streaming) {
192190
}
193191

194192
/**
195-
* Sets the character set used to decode headers. Defaults to
196-
* UTF-8 as per RFC 7578.
193+
* Set the character set used to decode headers.
194+
* Defaults to UTF-8 as per RFC 7578.
197195
* @param headersCharset the charset to use for decoding headers
198196
* @since 5.3.6
199197
* @see <a href="https://tools.ietf.org/html/rfc7578#section-5.1">RFC-7578 Section 5.2</a>

src/docs/asciidoc/core/core-beans.adoc

+3-1
Original file line numberDiff line numberDiff line change
@@ -10953,8 +10953,10 @@ location path as a classpath location. You can also use location paths (resource
1095310953
with special prefixes to force loading of definitions from the classpath or a URL,
1095410954
regardless of the actual context type.
1095510955

10956+
10957+
1095610958
[[context-functionality-startup]]
10957-
=== Application Startup tracking
10959+
=== Application Startup Tracking
1095810960

1095910961
The `ApplicationContext` manages the lifecycle of Spring applications and provides a rich
1096010962
programming model around components. As a result, complex applications can have equally

0 commit comments

Comments
 (0)