From 75f931afe328cddc83a80bd70e2c582566b80d80 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 10 Dec 2019 21:37:03 +0100 Subject: [PATCH] =?utf8?q?=E2=8F=AA=20Revert=20=E2=80=9CStore=20notificati?= =?utf8?q?on=20handlers=20in=20fields=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../sone/web/notification/NotificationHandler.kt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/kotlin/net/pterodactylus/sone/web/notification/NotificationHandler.kt b/src/main/kotlin/net/pterodactylus/sone/web/notification/NotificationHandler.kt index 74e5337..04449e7 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/notification/NotificationHandler.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/notification/NotificationHandler.kt @@ -23,11 +23,11 @@ import javax.inject.* * Container that causes notification handlers to be created and (more importantly) registered * on creation with the event bus. */ -@Suppress("unused") +@Suppress("UNUSED_PARAMETER") class NotificationHandler @Inject constructor( - val markPostKnownDuringFirstStartHandler: MarkPostKnownDuringFirstStartHandler, - val newSoneHandler: NewSoneHandler, - val newRemotePostHandler: NewRemotePostHandler, - val soneLockedOnStartupHandler: SoneLockedOnStartupHandler, - val soneLockedHandler: SoneLockedHandler + markPostKnownDuringFirstStartHandler: MarkPostKnownDuringFirstStartHandler, + newSoneHandler: NewSoneHandler, + newRemotePostHandler: NewRemotePostHandler, + soneLockedOnStartupHandler: SoneLockedOnStartupHandler, + soneLockedHandler: SoneLockedHandler ) -- 2.7.4