mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-22 20:47:57 +01:00
Add comment to HttpFileUploadManager
This commit is contained in:
parent
1d88c857b5
commit
75babfb9c6
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue