Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyofrancis committed Jun 17, 2018
1 parent ad5ef48 commit 7abe363
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ class ParallelFileDownloaderImpl(private val initialDownload: Download,
}
for (fileSlice in fileSlicesDownloadsList) {
if (!interrupted && !terminated) {
executorService?.execute({
executorService?.execute {
val downloadRequest = getRequestForDownload(downloadInfo, fileSlice.startBytes + fileSlice.downloaded)
var downloadResponse: Downloader.Response? = null
try {
Expand Down Expand Up @@ -494,7 +494,7 @@ class ParallelFileDownloaderImpl(private val initialDownload: Download,
}
incrementActionCompletedCount()
}
})
}
}
}
}
Expand Down

0 comments on commit 7abe363

Please sign in to comment.