⏪ Revert “Store notification handlers in fields”
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 10 Dec 2019 20:37:03 +0000 (21:37 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 11 Dec 2019 15:59:20 +0000 (16:59 +0100)
src/main/kotlin/net/pterodactylus/sone/web/notification/NotificationHandler.kt

index 74e5337..04449e7 100644 (file)
@@ -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
 )