am b829f097: Merge "Allow adding of completed empty files." into jb-dev
* commit 'b829f09737fcbb1e2c92949dce6222d5beacc3c9': Allow adding of completed empty files.
This commit is contained in:
@@ -1155,7 +1155,7 @@ public class DownloadManager {
|
||||
validateArgumentIsNonEmpty("description", description);
|
||||
validateArgumentIsNonEmpty("path", path);
|
||||
validateArgumentIsNonEmpty("mimeType", mimeType);
|
||||
if (length <= 0) {
|
||||
if (length < 0) {
|
||||
throw new IllegalArgumentException(" invalid value for param: totalBytes");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user