Reduce allocation
This commit is contained in:
1 parent
2c452d236c
commit
bffb32eafd
1 file changed
+1
-1
@@ -102,7 +102,7 @@ object DownloadManager : OnSpiderListener {
|
|||||||
}
|
}
|
||||||
list.add(info)
|
list.add(info)
|
||||||
info.gid
|
info.gid
|
||||||
}.toMutableMap()
|
} as MutableMap<Long, DownloadInfo>
|
||||||
mWaitList = LinkedList()
|
mWaitList = LinkedList()
|
||||||
mSpeedReminder = SpeedReminder()
|
mSpeedReminder = SpeedReminder()
|
||||||
mDownloadInfoListeners = ArrayList()
|
mDownloadInfoListeners = ArrayList()
|
||||||
|
|||||||
Reference in new issue
Block a user