diff --git a/Aria/src/main/java/com/arialyy/aria/core/command/normal/ResumeAllCmd.java b/Aria/src/main/java/com/arialyy/aria/core/command/normal/ResumeAllCmd.java index ecdc37df..2a6353ea 100644 --- a/Aria/src/main/java/com/arialyy/aria/core/command/normal/ResumeAllCmd.java +++ b/Aria/src/main/java/com/arialyy/aria/core/command/normal/ResumeAllCmd.java @@ -56,7 +56,6 @@ final class ResumeAllCmd extends AbsNormalCmd { * @param type {@code 1}单任务下载任务;{@code 2}任务组下载任务;{@code 3} 单任务上传任务 */ private List findTaskData(int type) { - // TODO: 2018/4/20 需要测试 List tempList = new ArrayList<>(); if (type == 1) { List wrappers = DbEntity.findRelationData(DTEWrapper.class, @@ -144,6 +143,7 @@ final class ResumeAllCmd extends AbsNormalCmd { } else { te.getEntity().setState(IEntity.STATE_WAIT); createTask(te); + sendWaitState(); } } } diff --git a/Aria/src/main/java/com/arialyy/aria/core/common/AbsFileer.java b/Aria/src/main/java/com/arialyy/aria/core/common/AbsFileer.java index 40ef2e0a..a523335a 100644 --- a/Aria/src/main/java/com/arialyy/aria/core/common/AbsFileer.java +++ b/Aria/src/main/java/com/arialyy/aria/core/common/AbsFileer.java @@ -491,7 +491,7 @@ public abstract class AbsFileer - +