Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
9423b983
Commit
9423b983
authored
Nov 20, 2016
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.4.x' into 1.5.x
parents
16571202
249ed899
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
MultipartProperties.java
...framework/boot/autoconfigure/web/MultipartProperties.java
+3
-3
MultipartConfigFactory.java
...ingframework/boot/web/servlet/MultipartConfigFactory.java
+2
-2
No files found.
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/MultipartProperties.java
View file @
9423b983
...
@@ -39,7 +39,7 @@ import org.springframework.util.StringUtils;
...
@@ -39,7 +39,7 @@ import org.springframework.util.StringUtils;
* <p>
* <p>
* These properties are ultimately passed through {@link MultipartConfigFactory} which
* These properties are ultimately passed through {@link MultipartConfigFactory} which
* means you may specify the values using {@literal long} values or using more readable
* means you may specify the values using {@literal long} values or using more readable
* {@literal String} variants that accept {@literal K
b} or {@literal Mb
} suffixes.
* {@literal String} variants that accept {@literal K
B} or {@literal MB
} suffixes.
*
*
* @author Josh Long
* @author Josh Long
* @author Toshiaki Maki
* @author Toshiaki Maki
...
@@ -62,13 +62,13 @@ public class MultipartProperties {
...
@@ -62,13 +62,13 @@ public class MultipartProperties {
* Max file size. Values can use the suffixed "MB" or "KB" to indicate a Megabyte or
* Max file size. Values can use the suffixed "MB" or "KB" to indicate a Megabyte or
* Kilobyte size.
* Kilobyte size.
*/
*/
private
String
maxFileSize
=
"1M
b
"
;
private
String
maxFileSize
=
"1M
B
"
;
/**
/**
* Max request size. Values can use the suffixed "MB" or "KB" to indicate a Megabyte
* Max request size. Values can use the suffixed "MB" or "KB" to indicate a Megabyte
* or Kilobyte size.
* or Kilobyte size.
*/
*/
private
String
maxRequestSize
=
"10M
b
"
;
private
String
maxRequestSize
=
"10M
B
"
;
/**
/**
* Threshold after which files will be written to disk. Values can use the suffixed
* Threshold after which files will be written to disk. Values can use the suffixed
...
...
spring-boot/src/main/java/org/springframework/boot/web/servlet/MultipartConfigFactory.java
View file @
9423b983
...
@@ -26,8 +26,8 @@ import org.springframework.util.Assert;
...
@@ -26,8 +26,8 @@ import org.springframework.util.Assert;
* readable {@literal String} variants that accept KB or MB suffixes, for example:
* readable {@literal String} variants that accept KB or MB suffixes, for example:
*
*
* <pre class="code">
* <pre class="code">
* factory.setMaxFileSize("10M
b
");
* factory.setMaxFileSize("10M
B
");
* factory.setMaxRequestSize("100K
b
");
* factory.setMaxRequestSize("100K
B
");
* </pre>
* </pre>
*
*
* @author Phillip Webb
* @author Phillip Webb
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment