📄 Update year in file headers
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / web / notification / StartupHandler.kt
index 06acf94..3776d43 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * Sone - StartupHandler.kt - Copyright Â© 2019 David â€˜Bombe’ Roden
+ * Sone - StartupHandler.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
@@ -33,7 +33,7 @@ class StartupHandler @Inject constructor(
                @Named("notification") private val ticker: ScheduledExecutorService) {
 
        @Subscribe
-       fun startup(startup: Startup) {
+       fun startup(@Suppress("UNUSED_PARAMETER") startup: Startup) {
                notificationManager.addNotification(notification)
                ticker.schedule({ notificationManager.removeNotification(notification) }, 2, MINUTES)
        }