ASF Bugzilla – Attachment 27244 Details for
Bug 51466
typos in comments of HostManagerServlet
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
correct typos
HostManagerServlet_doc.diff (text/plain), 1.47 KB, created by
Felix Schumacher
on 2011-07-02 14:09:02 UTC
(
hide
)
Description:
correct typos
Filename:
MIME Type:
Creator:
Felix Schumacher
Created:
2011-07-02 14:09:02 UTC
Size:
1.47 KB
patch
obsolete
>diff --git a/java/org/apache/catalina/manager/host/HostManagerServlet.java b/java/org/apache/catalina/manager/host/HostManagerServlet.java >index 00d349a..dc8c7dd 100644 >--- a/java/org/apache/catalina/manager/host/HostManagerServlet.java >+++ b/java/org/apache/catalina/manager/host/HostManagerServlet.java >@@ -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));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 51466
: 27244