Fix Kotlin warnings

This commit is contained in:
Sebastien Deleuze
2017-03-10 10:35:30 +01:00
parent 813d3efe61
commit 9963c4a495
6 changed files with 11 additions and 2 deletions

View File

@@ -133,8 +133,10 @@ class RouterFunctionExtensionsTests {
path("/baz") { handle(req) }
}
@Suppress("UNUSED_PARAMETER")
fun handleFromClass(req: ServerRequest) = ok().build()
}
}
@Suppress("UNUSED_PARAMETER")
fun handle(req: ServerRequest) = ok().build()

View File

@@ -1,3 +1,5 @@
@file:Suppress("UNCHECKED_CAST")
package org.springframework.web.reactive.result.view.script
import kotlin.script.templates.standard.ScriptTemplateWithBindings