From a23f3f995217e980adf668af2ce09e32aad112b9 Mon Sep 17 00:00:00 2001 From: AriaLyy <511455842@qq.com> Date: Tue, 14 Nov 2017 22:11:14 +0800 Subject: [PATCH] fix bug https://github.com/AriaLyy/Aria/issues/160 --- .../java/com/arialyy/aria/core/download/BaseDListener.java | 4 +++- .../arialyy/aria/core/download/downloader/AbsGroupUtil.java | 3 ++- .../main/java/com/arialyy/aria/core/upload/BaseUListener.java | 3 ++- DEV_LOG.md | 3 +++ aria/src/main/java/com/arialyy/aria/core/Configuration.java | 3 ++- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Aria/src/main/java/com/arialyy/aria/core/download/BaseDListener.java b/Aria/src/main/java/com/arialyy/aria/core/download/BaseDListener.java index 0388da25..52b18018 100644 --- a/Aria/src/main/java/com/arialyy/aria/core/download/BaseDListener.java +++ b/Aria/src/main/java/com/arialyy/aria/core/download/BaseDListener.java @@ -128,7 +128,9 @@ class BaseDListener fields = CommonUtil.getAllFields(getClass()); + List fields = + CommonUtil.getAllFields(isDownload ? DownloadConfig.class : UploadConfig.class); try { for (Field field : fields) { int m = field.getModifiers();