Skip to content

Commit

Permalink
Fix compilation error in virtual threads doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kdnakt committed Nov 7, 2022
1 parent bd56538 commit 2e04ead
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/virtual-threads.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public class FortuneResource {
for(int i=0; i < fortunes.size();i ++){
fortunes.get(i).title+= " - "+quotes.get(i);
}
return todos;
return fortunes;
}
@GET
Expand Down Expand Up @@ -279,7 +279,7 @@ public class FortuneResource {
for(int i=0; i < fortunes.size();i ++){
fortunes.get(i).title+= " - "+quotes.get(i);
}
return todos;
return fortunes;
}
}
Expand Down

0 comments on commit 2e04ead

Please sign in to comment.