Fixed NullpointerException in DownloadRequester

This commit is contained in:
daniel oeh 2013-04-07 12:25:31 +02:00
parent e5b9b68e28
commit 5da3b934ab
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ public class DownloadRequester {
private boolean isFilenameAvailable(String path) {
for (String key : downloads.keySet()) {
FeedFile f = downloads.get(key);
if (f.getFile_url().equals(path)) {
if (f.getFile_url() != null && f.getFile_url().equals(path)) {
if (AppConfig.DEBUG)
Log.d(TAG, path
+ " is already used by another requested download");