aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-02-02 10:28:21 -0800
committerScott Jackson <daneren2005@gmail.com>2015-02-02 10:28:21 -0800
commit760a4fcfac37d751c19e094076b63aa44a312e3c (patch)
tree1473d322a59a34a21895bd052089b607302e4d36
parent69037e20374f988643881e66ccb6ff53a52c3c3f (diff)
downloaddsub-760a4fcfac37d751c19e094076b63aa44a312e3c.tar.gz
dsub-760a4fcfac37d751c19e094076b63aa44a312e3c.tar.bz2
dsub-760a4fcfac37d751c19e094076b63aa44a312e3c.zip
Missed in last commit
-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;