tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1142642 - in /tomcat/trunk: java/org/apache/catalina/manager/host/HostManagerServlet.java webapps/docs/changelog.xml
Date Mon, 04 Jul 2011 12:43:19 GMT
Author: markt
Date: Mon Jul  4 12:43:19 2011
New Revision: 1142642

URL: http://svn.apache.org/viewvc?rev=1142642&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51466
Fix typos
Patch by Felix Schumacher

Modified:
    tomcat/trunk/java/org/apache/catalina/manager/host/HostManagerServlet.java
    tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/org/apache/catalina/manager/host/HostManagerServlet.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/manager/host/HostManagerServlet.java?rev=1142642&r1=1142641&r2=1142642&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/manager/host/HostManagerServlet.java (original)
+++ tomcat/trunk/java/org/apache/catalina/manager/host/HostManagerServlet.java Mon Jul  4
12:43:19 2011
@@ -600,7 +600,7 @@ public class HostManagerServlet
             return;
         }
 
-        // Don't start host of already started
+        // Don't start host if already started
         if (host.getState().isAvailable()) {
             writer.println(smClient.getString(
                     "hostManagerServlet.alreadyStarted", name));
@@ -626,7 +626,7 @@ public class HostManagerServlet
 
 
     /**
-     * Start the host with the specified name.
+     * Stop the host with the specified name.
      *
      * @param writer Writer to render to
      * @param name Host name
@@ -654,14 +654,14 @@ public class HostManagerServlet
             return;
         }
 
-        // Prevent starting our own host
+        // Prevent stopping our own host
         if (host == installedHost) {
             writer.println(smClient.getString(
                     "hostManagerServlet.cannotStopOwnHost", name));
             return;
         }
 
-        // Don't stop host of already stopped
+        // Don't stop host if already stopped
         if (!host.getState().isAvailable()) {
             writer.println(smClient.getString(
                     "hostManagerServlet.alreadyStopped", name));

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1142642&r1=1142641&r2=1142642&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Mon Jul  4 12:43:19 2011
@@ -61,6 +61,10 @@
         CrawlerSessionManagerValve was used without setting crawlerUserAgents.
         (markt)
       </fix>
+      <fix>
+        <bug>51466</bug>: Correct comment typos in HostManagerServlet. Patch
+        provided by Felix Schumacher. (markt)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="Other">



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message