X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fmain%2FTickerShutdown.kt;h=c95da0904c9ae8b633a7cf313d083685d6d3e601;hp=5f960504b7145306b53fec54e83ac9fdf9fe5725;hb=4af887c75667793c197b564f16b7e95b1f63cbc7;hpb=146335994dc415527bc4c8ec9a0981d739444ea8 diff --git a/src/main/kotlin/net/pterodactylus/sone/main/TickerShutdown.kt b/src/main/kotlin/net/pterodactylus/sone/main/TickerShutdown.kt index 5f96050..c95da09 100644 --- a/src/main/kotlin/net/pterodactylus/sone/main/TickerShutdown.kt +++ b/src/main/kotlin/net/pterodactylus/sone/main/TickerShutdown.kt @@ -29,7 +29,7 @@ import javax.inject.* class TickerShutdown @Inject constructor(@Named("notification") private val notificationTicker: ScheduledExecutorService) { @Subscribe - fun shutdown(shutdown: Shutdown) { + fun shutdown(@Suppress("UNUSED_PARAMETER") shutdown: Shutdown) { notificationTicker.shutdown() }