This is an automated email from the ASF dual-hosted git repository. remm 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 3d6776fdad Fix unfortunate typo ("no" was missing) 3d6776fdad is described below commit 3d6776fdadcfeb9c66b8f3c19ef2d2974b911a59 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 96c2368234..5ea6b01308 100644 --- a/java/org/apache/catalina/core/StandardContext.java +++ b/java/org/apache/catalina/core/StandardContext.java @@ -2066,10 +2066,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