X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fnotification%2FConfigNotReadHandler.kt;h=4ad525bc2df9ce67a742877bf05750a39b1e2c59;hp=46961c0aa7a387a9d1504af638ad5bdc71e0f03d;hb=4af887c75667793c197b564f16b7e95b1f63cbc7;hpb=4abaf802df7203d9a1c2e44266557b5325ba25da diff --git a/src/main/kotlin/net/pterodactylus/sone/web/notification/ConfigNotReadHandler.kt b/src/main/kotlin/net/pterodactylus/sone/web/notification/ConfigNotReadHandler.kt index 46961c0..4ad525b 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/notification/ConfigNotReadHandler.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/notification/ConfigNotReadHandler.kt @@ -28,7 +28,7 @@ import javax.inject.* class ConfigNotReadHandler @Inject constructor(private val notificationManager: NotificationManager, @Named("configNotRead") private val notification: TemplateNotification) { @Subscribe - fun configNotRead(configNotRead: ConfigNotRead) { + fun configNotRead(@Suppress("UNUSED_PARAMETER") configNotRead: ConfigNotRead) { notificationManager.addNotification(notification) }