14 lines
254 B
Kotlin
Vendored
14 lines
254 B
Kotlin
Vendored
package foo
|
|
|
|
fun dispatch(request: Request) {
|
|
val <!UNUSED_VARIABLE!>url<!> = request.getRequestURI() as String
|
|
|
|
if (request.getMethod()?.length != 0) {
|
|
}
|
|
}
|
|
|
|
interface Request {
|
|
fun getRequestURI(): String?
|
|
fun getMethod(): String?
|
|
}
|