aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/github/daneren2005/dsub/domain/PodcastChannel.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/domain/PodcastChannel.java b/src/github/daneren2005/dsub/domain/PodcastChannel.java
index bbfd1f50..a1c1617e 100644
--- a/src/github/daneren2005/dsub/domain/PodcastChannel.java
+++ b/src/github/daneren2005/dsub/domain/PodcastChannel.java
@@ -86,6 +86,19 @@ public class PodcastChannel implements Serializable {
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
+
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+
+ PodcastChannel entry = (PodcastChannel) o;
+ return id.equals(entry.id);
+ }
public static class PodcastComparator implements Comparator<PodcastChannel> {
private static String[] ignoredArticles;