This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push: new 2ad44a4ecc Fix method name. Use method rather than field. 2ad44a4ecc is described below commit 2ad44a4ecc8c519b3d27f53ecffcdff196088ca8 Author: Mark Thomas <ma...@apache.org> AuthorDate: Mon May 22 13:48:31 2023 +0100 Fix method name. Use method rather than field. --- java/org/apache/tomcat/util/net/AbstractEndpoint.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/org/apache/tomcat/util/net/AbstractEndpoint.java b/java/org/apache/tomcat/util/net/AbstractEndpoint.java index 603b1269f3..9ed6966ae2 100644 --- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java +++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java @@ -636,7 +636,7 @@ public abstract class AbstractEndpoint<S,U> { public void setUseVirtualThreads(boolean useVirtualThreads) { this.useVirtualThreads = useVirtualThreads; } - public boolean getVirtualThreads() { + public boolean getUseVirtualThreads() { return useVirtualThreads; } @@ -1080,7 +1080,7 @@ public abstract class AbstractEndpoint<S,U> { public void createExecutor() { internalExecutor = true; - if (useVirtualThreads) { + if (getUseVirtualThreads()) { executor = new VirtualThreadExecutor(getName() + "-exec-"); } else { TaskQueue taskqueue = new TaskQueue(); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org