spring-guides / gs-uploading-files

Uploading Files :: Learn how to build a Spring application that accepts multi-part file uploads.
http://spring.io/guides/gs/uploading-files/
Apache License 2.0
469 stars 503 forks source link

Documentation Errata #20

Closed davidbuhler-zz closed 8 years ago

davidbuhler-zz commented 8 years ago

Hello,

I believe the example given in the documentation has a small issue with the given syntax. The colon should be an equals sign.

URL: https://spring.io/guides/gs/uploading-files/ Section: Tuning file upload limits

Actual Example multipart.maxFileSize: 128KB multipart.maxRequestSize: 128KB

Expected Example multipart.maxFileSize=128KB multipart.maxRequestSize=128KB

dsyer commented 8 years ago

I'm guessing you didn't try it then because colons are valid separators in properties files (see JDK docs).

davidbuhler-zz commented 8 years ago

Noted. I got an error in IntelliJ, and assumed incorrectly.

gregturn commented 8 years ago

If you posted a screenshot of IntelliJ's error, we could forward that to Jetbrains to avoid in the future.