From: David ‘Bombe’ Roden Date: Tue, 6 Dec 2016 21:12:27 +0000 (+0100) Subject: Suppress warnings about unchecked casts X-Git-Tag: 0.9.7^2~373 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=7eac5c60bdb241d7b98e548cf974d41e22af1b5c;p=Sone.git Suppress warnings about unchecked casts --- diff --git a/src/test/kotlin/net/pterodactylus/sone/web/LoginPageTest.kt b/src/test/kotlin/net/pterodactylus/sone/web/LoginPageTest.kt index 3b5c74f..fbfeabe 100644 --- a/src/test/kotlin/net/pterodactylus/sone/web/LoginPageTest.kt +++ b/src/test/kotlin/net/pterodactylus/sone/web/LoginPageTest.kt @@ -57,6 +57,7 @@ class LoginPageTest : WebPageTest() { } @Test + @Suppress("UNCHECKED_CAST") fun `post request with invalid sone sets sones and identities without sone in template context`() { request("", POST) page.handleRequest(freenetRequest, templateContext)