pull/330/head
AriaLyy 8 years ago
parent f762c18df2
commit 491c9dec2e
  1. 4
      Aria/src/main/java/com/arialyy/aria/core/download/DownloadStateConstance.java
  2. 1
      Aria/src/main/java/com/arialyy/aria/core/upload/UploadUtil.java

@ -46,6 +46,10 @@ final class DownloadStateConstance {
FAIL_NUM = 0; FAIL_NUM = 0;
} }
void setThreadNum(int threadNum){
THREAD_NUM = threadNum;
}
/** /**
* 所有子线程是否都已经停止下载 * 所有子线程是否都已经停止下载
*/ */

@ -80,7 +80,6 @@ final class UploadUtil implements Runnable {
} }
mListener.onPre(); mListener.onPre();
URL url; URL url;
try { try {
url = new URL(mTaskEntity.uploadUrl); url = new URL(mTaskEntity.uploadUrl);

Loading…
Cancel
Save