📄 Update year in file headers
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / web / notification / WebOfTrustHandler.kt
index 924d395..900a885 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * Sone - WebOfTrustHandler.kt - Copyright Â© 2019 David â€˜Bombe’ Roden
+ * Sone - WebOfTrustHandler.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
@@ -29,12 +29,12 @@ import javax.inject.*
 class WebOfTrustHandler @Inject constructor(private val notificationManager: NotificationManager, @Named("webOfTrust") private val notification: TemplateNotification) {
 
        @Subscribe
-       fun webOfTrustAppeared(webOfTrustAppeared: WebOfTrustAppeared) {
+       fun webOfTrustAppeared(@Suppress("UNUSED_PARAMETER") webOfTrustAppeared: WebOfTrustAppeared) {
                notificationManager.removeNotification(notification)
        }
 
        @Subscribe
-       fun webOfTrustDisappeared(webOfTrustDisappeared: WebOfTrustDisappeared) {
+       fun webOfTrustDisappeared(@Suppress("UNUSED_PARAMETER") webOfTrustDisappeared: WebOfTrustDisappeared) {
                notificationManager.addNotification(notification)
        }