Skip to content

Commit 0372775

Browse files
authored
Merge pull request #1819 from marcelstoer/patch-2
Docs: currentTimeInMillis() -> currentTimeMillis()
2 parents 9ab1164 + 1638d0d commit 0372775

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/asciidoc/routing.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ In case where the after handler produces a new exception, that exception will be
776776

777777
==== Complete
778778

779-
The javadoc:Route.Complete[text=complte] listener run at the completion of a request/response cycle
779+
The javadoc:Route.Complete[text=complete] listener run at the completion of a request/response cycle
780780
(i.e. when the request has been completely read, and the response has been fully written).
781781

782782
At this point it is too late to modify the exchange further. They are attached to a running context
@@ -801,9 +801,9 @@ At this point it is too late to modify the exchange further. They are attached t
801801
----
802802
{
803803
decorator {
804-
val start = System.currentTimeInMillis()
804+
val start = System.currentTimeMillis()
805805
ctx.onComplete { <1>
806-
val end = System.currentTimeInMillis() <2>
806+
val end = System.currentTimeMillis() <2>
807807
println("Took: " + (end - start))
808808
}
809809
}

0 commit comments

Comments
 (0)