Fix some comment typos.
authorrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 21 Dec 2009 15:02:07 +0000 (15:02 +0000)
committerrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 21 Dec 2009 15:02:07 +0000 (15:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@892843 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/core/StandardContext.java
java/org/apache/catalina/loader/WebappClassLoader.java
webapps/docs/config/context.xml

index 62ab27d..67d0916 100644 (file)
@@ -748,7 +748,7 @@ public class StandardContext
     private boolean clearReferencesStatic = false;
     
     /**
-     * Should Tomcat attempt to termiate threads that have been started by the
+     * Should Tomcat attempt to terminate threads that have been started by the
      * web application? Stopping threads is performed via the deprecated (for
      * good reason) <code>Thread.stop()</code> method and is likely to result in
      * instability. As such, enabling this should be viewed as an option of last
index a50a13e..3e52686 100644 (file)
@@ -415,7 +415,7 @@ public class WebappClassLoader
     /**
      * Should Tomcat attempt to null out any static or final fields from loaded
      * classes when a web application is stopped as a work around for apparent
-     * garbage collection bugs and application coding errors. There have been
+     * garbage collection bugs and application coding errors? There have been
      * some issues reported with log4j when this option is true. Applications
      * without memory leaks using recent JVMs should operate correctly with this
      * option set to <code>false</code>. If not specified, the default value of
@@ -424,9 +424,9 @@ public class WebappClassLoader
     private boolean clearReferencesStatic = false;
 
     /**
-     * Should Tomcat attempt to termiate threads that have been started by the
+     * Should Tomcat attempt to terminate threads that have been started by the
      * web application? Stopping threads is performed via the deprecated (for
-     * goo reason) <code>Thread.stop()</code> method and is likely to result in
+     * good reason) <code>Thread.stop()</code> method and is likely to result in
      * instability. As such, enabling this should be viewed as an option of last
      * resort in a development environment and is not recommended in a
      * production environment. If not specified, the default value of
@@ -2007,9 +2007,9 @@ public class WebappClassLoader
                     }
 
                     // This method is deprecated and for good reason. This is
-                    // very risky code but is only only option at this point
+                    // very risky code but is the only option at this point.
                     // A *very* good reason for apps to do this clean-up
-                    // themselves
+                    // themselves.
                     thread.stop();
                 }
             }
index 579cc49..6d5e852 100644 (file)
       </attribute>
 
       <attribute name="clearReferencesStopThreads" required = "false">
-        <p>If <code>true</code>, Tomcat attempts to termiate threads that have
-        been started by the web application? Stopping threads is performed via
+        <p>If <code>true</code>, Tomcat attempts to terminate threads that have
+        been started by the web application. Stopping threads is performed via
         the deprecated (for good reason) <code>Thread.stop()</code> method and
         is likely to result in instability. As such, enabling this should be
         viewed as an option of last resort in a development environment and is
-        not recommended in a production environment.If not specified, the
+        not recommended in a production environment. If not specified, the
         default value of <code>false</code> will be used.</p>
       </attribute>