Fix inconsistent style

This commit is contained in:
Kamil Szczęk 2019-12-11 15:56:04 +01:00
parent b18236a27e
commit cfad3fb5de
1 changed files with 1 additions and 1 deletions

View File

@ -559,7 +559,7 @@ public class MissionAdapter extends Adapter<ViewHolder> implements Handler.Callb
public void clearFinishedDownloads(boolean delete) { public void clearFinishedDownloads(boolean delete) {
if (delete && mIterator.hasFinishedMissions()) { if (delete && mIterator.hasFinishedMissions()) {
for(int i=0; i<mIterator.getOldListSize(); i++) { for (int i = 0; i < mIterator.getOldListSize(); i++) {
FinishedMission mission = mIterator.getItem(i).mission instanceof FinishedMission ? (FinishedMission) mIterator.getItem(i).mission : null; FinishedMission mission = mIterator.getItem(i).mission instanceof FinishedMission ? (FinishedMission) mIterator.getItem(i).mission : null;
if (mission != null) { if (mission != null) {
mDownloadManager.deleteMission(mission); mDownloadManager.deleteMission(mission);