X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2Fnotification%2FFirstStartHandler.kt;h=3dc86899ac14ea9b474fc6b37d6a8fc10f25f8c3;hb=HEAD;hp=aceda7e8bfc500da3ea9b6261273ee37d004ad87;hpb=146335994dc415527bc4c8ec9a0981d739444ea8;p=Sone.git diff --git a/src/main/kotlin/net/pterodactylus/sone/web/notification/FirstStartHandler.kt b/src/main/kotlin/net/pterodactylus/sone/web/notification/FirstStartHandler.kt index aceda7e..3dc8689 100644 --- a/src/main/kotlin/net/pterodactylus/sone/web/notification/FirstStartHandler.kt +++ b/src/main/kotlin/net/pterodactylus/sone/web/notification/FirstStartHandler.kt @@ -1,5 +1,5 @@ /** - * Sone - FirstStartHandler.kt - Copyright © 2019 David ‘Bombe’ Roden + * Sone - FirstStartHandler.kt - Copyright © 2019–2020 David ‘Bombe’ Roden * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ import javax.inject.* class FirstStartHandler @Inject constructor(private val notificationManager: NotificationManager, @Named("firstStart") private val notification: TemplateNotification) { @Subscribe - fun firstStart(firstStart: FirstStart) { + fun firstStart(@Suppress("UNUSED_PARAMETER") firstStart: FirstStart) { notificationManager.addNotification(notification) }