Prevent NullPointerException
This commit is contained in:
parent
4d3fb36e16
commit
0c85447136
@ -324,7 +324,7 @@ public class Feed extends FeedFile implements FlattrThing, ImageResource {
|
||||
if (super.compareWithOther(other)) {
|
||||
return true;
|
||||
}
|
||||
if (!title.equals(other.title)) {
|
||||
if (!TextUtils.equals(title, other.title)) {
|
||||
return true;
|
||||
}
|
||||
if (other.feedIdentifier != null) {
|
||||
|
@ -1,5 +1,7 @@
|
||||
package de.danoeh.antennapod.core.feed;
|
||||
|
||||
import android.text.TextUtils;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
@ -54,7 +56,7 @@ public abstract class FeedFile extends FeedComponent {
|
||||
if (super.compareWithOther(other)) {
|
||||
return true;
|
||||
}
|
||||
if (!download_url.equals(other.download_url)) {
|
||||
if (!TextUtils.equals(download_url, other.download_url)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user