bug 50459: StandardContext.bindThread() and unbindThread() are not symmetrical and...
authorslaurent <slaurent@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 12 Dec 2010 00:16:33 +0000 (00:16 +0000)
committerslaurent <slaurent@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 12 Dec 2010 00:16:33 +0000 (00:16 +0000)
https://issues.apache.org/bugzilla/show_bug.cgi?id=50459

Fixed incorrect comment in code

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1044747 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/core/StandardContext.java

index ac48d8d..51e2ff2 100644 (file)
@@ -4863,8 +4863,9 @@ public class StandardContext extends ContainerBase
                     ((Lifecycle) loader).start();
 
                 // since the loader just started, the webapp classloader is now
-                // created by calling unbindThread and bindThread in a row, we
-                // setup the current Thread CCL to be the webapp classloader
+                // created.
+                // By calling unbindThread and bindThread in a row, we setup the
+                // current Thread CCL to be the webapp classloader
                 unbindThread(oldCCL);
                 oldCCL = bindThread();