diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-02-02 10:28:21 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-02-02 10:28:21 -0800 |
commit | 760a4fcfac37d751c19e094076b63aa44a312e3c (patch) | |
tree | 1473d322a59a34a21895bd052089b607302e4d36 | |
parent | 69037e20374f988643881e66ccb6ff53a52c3c3f (diff) | |
download | dsub-760a4fcfac37d751c19e094076b63aa44a312e3c.tar.gz dsub-760a4fcfac37d751c19e094076b63aa44a312e3c.tar.bz2 dsub-760a4fcfac37d751c19e094076b63aa44a312e3c.zip |
Missed in last commit
-rw-r--r-- | src/github/daneren2005/dsub/domain/PodcastChannel.java | 13 |
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;
|