From: David ‘Bombe’ Roden Date: Wed, 16 Jul 2014 20:08:29 +0000 (+0200) Subject: Fix watcher constructor. X-Git-Tag: v2~225 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=eb9233646d3f52490a72d49dded28705cb4e270f;p=rhynodge.git Fix watcher constructor. --- diff --git a/src/main/java/net/pterodactylus/rhynodge/watchers/HeldentageWatcher.java b/src/main/java/net/pterodactylus/rhynodge/watchers/HeldentageWatcher.java index 54e91bf..19a8513 100644 --- a/src/main/java/net/pterodactylus/rhynodge/watchers/HeldentageWatcher.java +++ b/src/main/java/net/pterodactylus/rhynodge/watchers/HeldentageWatcher.java @@ -2,11 +2,6 @@ package net.pterodactylus.rhynodge.watchers; import static java.util.Arrays.asList; -import java.util.List; - -import net.pterodactylus.rhynodge.Filter; -import net.pterodactylus.rhynodge.Query; -import net.pterodactylus.rhynodge.Trigger; import net.pterodactylus.rhynodge.Watcher; import net.pterodactylus.rhynodge.filters.HtmlFilter; import net.pterodactylus.rhynodge.filters.comics.HeldentageFilter; @@ -20,7 +15,7 @@ import net.pterodactylus.rhynodge.triggers.NewComicTrigger; */ public class HeldentageWatcher extends DefaultWatcher { - public HeldentageWatcher(Query query, List filters, Trigger trigger) { + public HeldentageWatcher() { super(new HttpQuery("http://www.der-flix.de/"), asList(new HtmlFilter(), new HeldentageFilter()), new NewComicTrigger()); }