This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new 21f4886ed6 Fix unfortunate typo ("no" was missing)
21f4886ed6 is described below

commit 21f4886ed6d4f57c2147b9bbe365df1fe0754883
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

Reply via email to