This commit is contained in:
Martin Fietz 2016-03-21 15:51:17 +01:00
parent 0c85447136
commit abaa7a28b2
2 changed files with 3 additions and 3 deletions

View File

@ -328,8 +328,7 @@ public class Feed extends FeedFile implements FlattrThing, ImageResource {
return true;
}
if (other.feedIdentifier != null) {
if (feedIdentifier == null
|| !feedIdentifier.equals(other.feedIdentifier)) {
if (feedIdentifier == null || !feedIdentifier.equals(other.feedIdentifier)) {
return true;
}
}

View File

@ -95,8 +95,9 @@ public class FeedPreferences {
* @return True if the two objects are different.
*/
public boolean compareWithOther(FeedPreferences other) {
if (other == null)
if (other == null) {
return true;
}
if (!TextUtils.equals(username, other.username)) {
return true;
}