Fix Kotlin warnings
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
@file:Suppress("UNCHECKED_CAST")
|
||||
|
||||
package org.springframework.web.reactive.result.view.script
|
||||
|
||||
import kotlin.script.templates.standard.ScriptTemplateWithBindings
|
||||
|
||||
Reference in New Issue
Block a user