1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 22:32:06 +01:00

Add comment to HttpFileUploadManager

This commit is contained in:
Florian Schmaus 2018-04-06 13:26:03 +02:00
parent 1d88c857b5
commit 75babfb9c6

View file

@ -159,6 +159,8 @@ public final class HttpFileUploadManager extends Manager {
String maxFileSizeValue = field.getFirstValue(); String maxFileSizeValue = field.getFirstValue();
if (maxFileSizeValue == null) { 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); return new UploadService(address, version);
} }