1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-26 05:52: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();
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);
}