This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push: new 98159d2ab7 Fix method name. Use method rather than field. 98159d2ab7 is described below commit 98159d2ab743d54f819eabc3349bd1381b716e66 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 91f539f687..08253c12a8 100644 --- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java +++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java @@ -590,7 +590,7 @@ public abstract class AbstractEndpoint<S,U> { public void setUseVirtualThreads(boolean useVirtualThreads) { this.useVirtualThreads = useVirtualThreads; } - public boolean getVirtualThreads() { + public boolean getUseVirtualThreads() { return useVirtualThreads; } @@ -1034,7 +1034,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