This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch 11.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push: new 2933368a8b Fix unfortunate typo ("no" was missing) 2933368a8b is described below commit 2933368a8b50ea217012b2b34dbcc4cc32e1476d Author: remm <r...@apache.org> AuthorDate: Mon Sep 2 15:16:40 2024 +0200 Fix unfortunate typo ("no" was missing) Now flagged by Coverity, so still thinking about how to do it better if feasible. --- java/org/apache/catalina/core/StandardContext.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/java/org/apache/catalina/core/StandardContext.java b/java/org/apache/catalina/core/StandardContext.java index 27406d6a86..f4fb6f8bf0 100644 --- a/java/org/apache/catalina/core/StandardContext.java +++ b/java/org/apache/catalina/core/StandardContext.java @@ -2128,10 +2128,8 @@ public class StandardContext extends ContainerBase implements Context, Notificat @Override public ServletContext getServletContext() { - /* - * This method is called (multiple times) during context start which is single threaded so there is concurrency - * issue here. - */ + // This method is called multiple times during context start which is single threaded + // so there is no concurrency issue if (context == null) { context = new ApplicationContext(this); if (altDDName != null) { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org