Skip to content

Commit 2679a6f

Browse files
committed
Polish
1 parent ad5674c commit 2679a6f

File tree

3 files changed

+634
-6
lines changed

3 files changed

+634
-6
lines changed

spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/MultipartProperties.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@
2525
/**
2626
* Properties to be used in configuring a {@link MultipartConfigElement}.
2727
* <ul>
28-
* <li>{@link #getLocation() location} specifies the directory where files will be
29-
* stored. The default is "". A common value is to use the system's temporary directory,
30-
* which can be obtained.</li>
28+
* <li>{@link #getLocation() location} specifies the directory where files will be stored.
29+
* The default is "". A common value is to use the system's temporary directory, which can
30+
* be obtained.</li>
3131
* <li>{@link #getMaxFileSize() max-file-size} specifies the maximum size permitted for
3232
* uploaded files. The default is 1Mb.</li>
3333
* <li>{@link #getMaxRequestSize() max-request-size} specifies the maximum size allowed
3434
* for {@literal multipart/form-data} requests. The default is 10Mb</li>
3535
* <li>{@link #getFileSizeThreshold() file-size-threshold} specifies the size threshold
36-
* after which files will be written to disk. Default is 0, which means that the file
37-
* will be written to disk immediately.</li>
36+
* after which files will be written to disk. Default is 0, which means that the file will
37+
* be written to disk immediately.</li>
3838
* </ul>
3939
* <p>
4040
* These properties are ultimately passed through

spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ private String[] getStaticWelcomePageLocations() {
118118
}
119119

120120
List<Resource> getFaviconLocations() {
121-
List<Resource> locations = new ArrayList<Resource>(this.staticLocations.length + 1);
121+
List<Resource> locations = new ArrayList<Resource>(
122+
this.staticLocations.length + 1);
122123
if (this.resourceLoader != null) {
123124
for (String location : this.staticLocations) {
124125
locations.add(this.resourceLoader.getResource(location));

0 commit comments

Comments
 (0)