summaryrefslogtreecommitdiff
path: root/net/sync/model
diff options
context:
space:
mode:
Diffstat (limited to 'net/sync/model')
-rw-r--r--net/sync/model/build.gradle1
-rw-r--r--net/sync/model/src/main/java/de/danoeh/antennapod/net/sync/model/EpisodeAction.java10
2 files changed, 5 insertions, 6 deletions
diff --git a/net/sync/model/build.gradle b/net/sync/model/build.gradle
index e47040892..72d962536 100644
--- a/net/sync/model/build.gradle
+++ b/net/sync/model/build.gradle
@@ -5,5 +5,4 @@ dependencies {
implementation project(':model')
annotationProcessor "androidx.annotation:annotation:$annotationVersion"
- implementation "androidx.appcompat:appcompat:$appcompatVersion"
}
diff --git a/net/sync/model/src/main/java/de/danoeh/antennapod/net/sync/model/EpisodeAction.java b/net/sync/model/src/main/java/de/danoeh/antennapod/net/sync/model/EpisodeAction.java
index da398d83e..42fbdb310 100644
--- a/net/sync/model/src/main/java/de/danoeh/antennapod/net/sync/model/EpisodeAction.java
+++ b/net/sync/model/src/main/java/de/danoeh/antennapod/net/sync/model/EpisodeAction.java
@@ -4,7 +4,6 @@ import android.text.TextUtils;
import android.util.Log;
import androidx.annotation.NonNull;
-import androidx.core.util.ObjectsCompat;
import org.json.JSONException;
import org.json.JSONObject;
@@ -13,6 +12,7 @@ import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
+import java.util.Objects;
import java.util.TimeZone;
import de.danoeh.antennapod.model.feed.FeedItem;
@@ -159,10 +159,10 @@ public class EpisodeAction {
&& position == that.position
&& total == that.total
&& action != that.action
- && ObjectsCompat.equals(podcast, that.podcast)
- && ObjectsCompat.equals(episode, that.episode)
- && ObjectsCompat.equals(timestamp, that.timestamp)
- && ObjectsCompat.equals(guid, that.guid);
+ && Objects.equals(podcast, that.podcast)
+ && Objects.equals(episode, that.episode)
+ && Objects.equals(timestamp, that.timestamp)
+ && Objects.equals(guid, that.guid);
}
@Override