diff --git a/docs/src/main/asciidoc/virtual-threads.adoc b/docs/src/main/asciidoc/virtual-threads.adoc index e23d8352235f5..ce8694c39b7cc 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();