Remove not null check on 'this' (not null by definition)

This commit is contained in:
Olivier Trichet 2014-12-20 18:03:17 +01:00
parent a5c4b2d811
commit 4e298a9f1e

View file

@ -257,8 +257,7 @@ public class DownloadImagesService extends IntentService {
if(maxCount == count) {
notificationManager.cancel(NOTIFICATION_ID);
if(DownloadImagesService.this != null)
RemoveOldImages(DownloadImagesService.this);
RemoveOldImages(DownloadImagesService.this);
} else {
NotificationDownloadImages.setProgress(maxCount, count+1, false);
NotificationDownloadImages.setContentText("Downloading Images for offline usage - " + (count+1) + "/" + maxCount);