X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Ftest%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Ffreenet%2Fwot%2FWebOfTrustPingerTest.kt;h=9cc108471b6768d4d2af51c93f520e69c068e6f1;hp=cbd917282a733812859d27e65812d949b52ea8df;hb=438378deab1514f0f608d975ef65f5b7aea44ccb;hpb=439fb3dfa1ccf157388a0e0b306013d0aa46bb50 diff --git a/src/test/kotlin/net/pterodactylus/sone/freenet/wot/WebOfTrustPingerTest.kt b/src/test/kotlin/net/pterodactylus/sone/freenet/wot/WebOfTrustPingerTest.kt index cbd9172..9cc1084 100644 --- a/src/test/kotlin/net/pterodactylus/sone/freenet/wot/WebOfTrustPingerTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/freenet/wot/WebOfTrustPingerTest.kt @@ -1,5 +1,5 @@ /** - * Sone - WebOfTrustPinger.kt - Copyright © 2019 David ‘Bombe’ Roden + * Sone - WebOfTrustPingerTest.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 @@ -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() } }