🚨 Suppress some warnings about unused parameters
[Sone.git] / src / test / kotlin / net / pterodactylus / sone / freenet / wot / WebOfTrustPingerTest.kt
index cbd9172..6d302c5 100644 (file)
@@ -105,14 +105,14 @@ class WebOfTrustPingerTest {
 
 private class WebOfTrustAppearedCatcher(private val received: () -> Unit) {
        @Subscribe
-       fun webOfTrustAppeared(webOfTrustAppeared: WebOfTrustAppeared) {
+       fun webOfTrustAppeared(@Suppress("UNUSED_PARAMETER") webOfTrustAppeared: WebOfTrustAppeared) {
                received()
        }
 }
 
 private class WebOfTrustDisappearedCatcher(private val received: () -> Unit) {
        @Subscribe
-       fun webOfTrustDisappeared(webOfTrustDisappeared: WebOfTrustDisappeared) {
+       fun webOfTrustDisappeared(@Suppress("UNUSED_PARAMETER") webOfTrustDisappeared: WebOfTrustDisappeared) {
                received()
        }
 }