diff --git a/docs/src/main/asciidoc/virtual-threads.adoc b/docs/src/main/asciidoc/virtual-threads.adoc index ad7f5410f75df..a1df10eb19821 100644 --- a/docs/src/main/asciidoc/virtual-threads.adoc +++ b/docs/src/main/asciidoc/virtual-threads.adoc @@ -243,7 +243,7 @@ public class FortuneResource { @GET @Path("/quoted-reactive") - public Uni> getAllQuoted() { + public Uni> getAllQuotedReactive() { // we first fetch the list of resource and we memoize it // to avoid fetching it again everytime need it var fortunes = repository.findAllAsync().memoize().indefinitely(); @@ -268,7 +268,7 @@ public class FortuneResource { @GET @RunOnVirtualThread @Path("/quoted-virtual-thread") - public List getAllQuotedBlocking() { + public List getAllQuotedVirtualThread() { //we get the list of fortunes var fortunes = repository.findAllAsyncAndAwait();