From 742de65044a1746a89293c31d91156763bfe615c Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 13 Nov 2024 22:42:08 +0100 Subject: [PATCH] =?utf8?q?=F0=9F=9A=A7=20Only=20require=20an=20Action=20in?= =?utf8?q?=20case=20of=20errors?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/java/net/pterodactylus/rhynodge/engine/ReactionRunner.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/pterodactylus/rhynodge/engine/ReactionRunner.java b/src/main/java/net/pterodactylus/rhynodge/engine/ReactionRunner.java index 45642ce..644ccae 100644 --- a/src/main/java/net/pterodactylus/rhynodge/engine/ReactionRunner.java +++ b/src/main/java/net/pterodactylus/rhynodge/engine/ReactionRunner.java @@ -15,7 +15,6 @@ import net.pterodactylus.rhynodge.Filter; import net.pterodactylus.rhynodge.Query; import net.pterodactylus.rhynodge.Reaction; import net.pterodactylus.rhynodge.State; -import net.pterodactylus.rhynodge.actions.EmailAction; import net.pterodactylus.rhynodge.Merger; import net.pterodactylus.rhynodge.output.DefaultOutput; import net.pterodactylus.rhynodge.output.Output; @@ -35,9 +34,9 @@ public class ReactionRunner implements Runnable { private static final Logger logger = getLogger(ReactionRunner.class); private final Reaction reaction; private final ReactionState reactionState; - private final EmailAction errorEmailAction; + private final Action errorEmailAction; - public ReactionRunner(Reaction reaction, ReactionState reactionState, EmailAction errorEmailAction) { + public ReactionRunner(Reaction reaction, ReactionState reactionState, Action errorEmailAction) { this.reactionState = reactionState; this.reaction = reaction; this.errorEmailAction = errorEmailAction; -- 2.7.4