From: David ‘Bombe’ Roden Date: Tue, 10 Dec 2019 20:37:03 +0000 (+0100) Subject: ⏪ Revert “Store notification handlers in fields” X-Git-Tag: v81^2~5^2~63 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=75f931afe328cddc83a80bd70e2c582566b80d80;p=Sone.git ⏪ Revert “Store notification handlers in fields” --- 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 )