projects
/
rhynodge.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add Girl Genius comic filter and watcher.
[rhynodge.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
rhynodge
/
states
/
EpisodeState.java
diff --git
a/src/main/java/net/pterodactylus/rhynodge/states/EpisodeState.java
b/src/main/java/net/pterodactylus/rhynodge/states/EpisodeState.java
index
7ed3dce
..
5d494e5
100644
(file)
--- a/
src/main/java/net/pterodactylus/rhynodge/states/EpisodeState.java
+++ b/
src/main/java/net/pterodactylus/rhynodge/states/EpisodeState.java
@@
-194,7
+194,9
@@
public class EpisodeState extends AbstractState implements Iterable<Episode> {
* The torrent file to add
*/
public void addTorrentFile(TorrentFile torrentFile) {
- torrentFiles.add(torrentFile);
+ if (!torrentFiles.contains(torrentFile)) {
+ torrentFiles.add(torrentFile);
+ }
}
//