FIxed null pointer in DownloadIndexThread

This commit is contained in:
Denis 2014-11-07 15:40:36 +02:00
parent 4bf1167707
commit d50ae48e54

View file

@ -531,7 +531,7 @@ public class DownloadIndexesThread {
itemsToUpdate.clear(); itemsToUpdate.clear();
for (IndexItem item : filtered) { for (IndexItem item : filtered) {
String sfName = item.getTargetFileName(); String sfName = item.getTargetFileName();
java.text.DateFormat format = uiActivity.getMyApplication().getResourceManager().getDateFormat(); java.text.DateFormat format = app.getResourceManager().getDateFormat();
String date = item.getDate(format); String date = item.getDate(format);
String indexactivateddate = indexActivatedFileNames.get(sfName); String indexactivateddate = indexActivatedFileNames.get(sfName);
String indexfilesdate = indexFileNames.get(sfName); String indexfilesdate = indexFileNames.get(sfName);