fix: 处理部分 SonarQube 问题

This commit is contained in:
chenjuntao
2022-08-02 16:22:45 +08:00
parent c8cd753022
commit 9c11f7f70e
13 changed files with 75 additions and 132 deletions

View File

@ -796,7 +796,7 @@ public class DownloadManager implements DownloadStatusListener {
}
}
private void cancelAndNotify(DownloadEntity entry, Boolean cancelSilently) {
private void cancelAndNotify(DownloadEntity entry, boolean cancelSilently) {
mDownloadDao.removeErrorMessage(entry.getUrl());
DownloadTask task = DataChanger.INSTANCE.getDownloadingTasks().get(entry.getUrl());