Skip to content

Commit

Permalink
Redundant (and actually failed) assert removed
Browse files Browse the repository at this point in the history
  • Loading branch information
shafirov committed Mar 15, 2013
1 parent 3b0569b commit c33fb25
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/KaraLib/src/kara/controllers/Request.kt
Expand Up @@ -22,7 +22,6 @@ public open class Request(private val handler: ActionContext.() -> ActionResult)

public fun toExternalForm() : String {
val (route, method) = javaClass.route()
if (method != HttpMethod.GET) throw RuntimeException("External form only supported for GET requests")

val answer = StringBuilder()

Expand Down

0 comments on commit c33fb25

Please sign in to comment.