You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by eb...@apache.org on 2022/09/28 11:52:18 UTC
[tomcat] 06/06: Fix more typos
This is an automated email from the ASF dual-hosted git repository.
ebourg pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit ffa48e5d37bfadd086103a30e9679f3c5965433d
Author: Emmanuel Bourg <eb...@apache.org>
AuthorDate: Wed Sep 28 13:51:34 2022 +0200
Fix more typos
---
java/org/apache/tomcat/util/digester/package.html | 2 +-
modules/jdbc-pool/doc/jdbc-pool.xml | 4 ++--
modules/jdbc-pool/doc/package.xsl | 4 ++--
webapps/examples/websocket/drawboard.xhtml | 2 +-
webapps/manager/WEB-INF/jsp/sessionsList.jsp | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/java/org/apache/tomcat/util/digester/package.html b/java/org/apache/tomcat/util/digester/package.html
index 207cafebfd..d95fd5258c 100644
--- a/java/org/apache/tomcat/util/digester/package.html
+++ b/java/org/apache/tomcat/util/digester/package.html
@@ -777,7 +777,7 @@ matching namespace prefix patterns might be a better strategy.</p>
<p>When you set the <code>NamespaceAware</code> property to false, digester uses
the qualified element name (which includes the namespace prefix) rather than the
-local name as the patten component for the element. This means that your pattern
+local name as the pattern component for the element. This means that your pattern
matches can include namespace prefixes as well as element names. So, rather than
create namespace-aware rules, create pattern matches including the namespace
prefixes.</p>
diff --git a/modules/jdbc-pool/doc/jdbc-pool.xml b/modules/jdbc-pool/doc/jdbc-pool.xml
index b1ed9935d9..f0b5e00639 100644
--- a/modules/jdbc-pool/doc/jdbc-pool.xml
+++ b/modules/jdbc-pool/doc/jdbc-pool.xml
@@ -455,7 +455,7 @@
</attribute>
<attribute name="abandonWhenPercentageFull" required="false">
- <p>(int) Connections that have been abandoned (timed out) wont get closed and reported up unless
+ <p>(int) Connections that have been abandoned (timed out) won't get closed and reported up unless
the number of connections in use are above the percentage defined by <code>abandonWhenPercentageFull</code>.
The value should be between 0-100.
The default value is <code>0</code>, which implies that connections are eligible for closure as soon
@@ -724,7 +724,7 @@
<subsection name="org.apache.tomcat.jdbc.pool.interceptor.SlowQueryReportJmx">
<p>Extends the <code>SlowQueryReport</code> and in addition to log entries it issues JMX notification
for monitoring tools to react to. Inherits all the attributes from its parent class.
- This class uses Tomcat's JMX engine so it wont work outside of the Tomcat container.
+ This class uses Tomcat's JMX engine so it won't work outside of the Tomcat container.
By default, JMX notifications are sent through the ConnectionPool mbean if it is enabled.
The <code>SlowQueryReportJmx</code> can also register an MBean if <code>notifyPool=false</code>
</p>
diff --git a/modules/jdbc-pool/doc/package.xsl b/modules/jdbc-pool/doc/package.xsl
index d3fd7eab8c..a987c80bd2 100644
--- a/modules/jdbc-pool/doc/package.xsl
+++ b/modules/jdbc-pool/doc/package.xsl
@@ -30,14 +30,14 @@
encoding="UTF-8"
indent="no"/>
- <!-- Defined parameters (overrideable) -->
+ <!-- Defined parameters (overridable) -->
<xsl:param name="relative-path" select="'.'"/>
<xsl:param name="void-image" select="'/images/void.gif'"/>
<xsl:param name="standalone" select="''"/>
<xsl:param name="buglink" select="'https://bz.apache.org/bugzilla/show_bug.cgi?id='"/>
<xsl:param name="revlink" select="'https://svn.apache.org/viewvc?view=rev&rev='"/>
- <!-- Defined variables (non-overrideable) -->
+ <!-- Defined variables (non-overridable) -->
<xsl:variable name="body-bg" select="'#ffffff'"/>
<xsl:variable name="body-fg" select="'#000000'"/>
<xsl:variable name="body-link" select="'#525D76'"/>
diff --git a/webapps/examples/websocket/drawboard.xhtml b/webapps/examples/websocket/drawboard.xhtml
index 14c5b2a7bd..a2edf3c71b 100644
--- a/webapps/examples/websocket/drawboard.xhtml
+++ b/webapps/examples/websocket/drawboard.xhtml
@@ -538,7 +538,7 @@
}
function refreshDisplayCanvas() {
- if (!isActive) { // Don't draw a curser when not active.
+ if (!isActive) { // Don't draw a cursor when not active.
return;
}
diff --git a/webapps/manager/WEB-INF/jsp/sessionsList.jsp b/webapps/manager/WEB-INF/jsp/sessionsList.jsp
index f051bcf8bd..7fa43dacb8 100644
--- a/webapps/manager/WEB-INF/jsp/sessionsList.jsp
+++ b/webapps/manager/WEB-INF/jsp/sessionsList.jsp
@@ -59,7 +59,7 @@
<div class="message"><%= JspHelper.escapeXml(request.getAttribute("message")) %></div>
<form action="<%= submitUrl %>" method="post" id="sessionsForm">
- <fieldset><legend>Active HttpSessions informations</legend>
+ <fieldset><legend>Active HttpSessions information</legend>
<input type="hidden" name="action" id="sessionsFormAction" value="injectSessions"/>
<input type="hidden" name="sort" id="sessionsFormSort" value="<%= JspHelper.escapeXml(request.getAttribute("sort")) %>"/>
<% String order = (String) request.getAttribute("order");
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org