Add comment to HttpFileUploadManager

This commit is contained in:
Florian Schmaus 2018-04-06 13:26:03 +02:00
parent 1d88c857b5
commit 75babfb9c6
1 changed files with 2 additions and 0 deletions

View File

@ -159,6 +159,8 @@ public final class HttpFileUploadManager extends Manager {
String maxFileSizeValue = field.getFirstValue();
if (maxFileSizeValue == null) {
// This is likely an implementation error of the upload component, because the max-file-size form field is
// there but has no value set.
return new UploadService(address, version);
}