This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit de52b16fe5a925befc469072268962afdc2e040c
Author: KangZhiDong <world...@gmail.com>
AuthorDate: Sun Sep 1 03:34:01 2019 +0800

    fix typo
---
 java/javax/servlet/http/HttpServletRequest.java   | 2 +-
 java/org/apache/jasper/compiler/JspConfig.java    | 2 +-
 java/org/apache/tomcat/util/digester/package.html | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/java/javax/servlet/http/HttpServletRequest.java 
b/java/javax/servlet/http/HttpServletRequest.java
index 6cc782e..872b9b8 100644
--- a/java/javax/servlet/http/HttpServletRequest.java
+++ b/java/javax/servlet/http/HttpServletRequest.java
@@ -353,7 +353,7 @@ public interface HttpServletRequest extends ServletRequest {
      * <td>/xyz
      * </table>
      * <p>
-     * To reconstruct an URL with a scheme and host, use
+     * To reconstruct a URL with a scheme and host, use
      * {@link #getRequestURL}.
      *
      * @return a <code>String</code> containing the part of the URL from the
diff --git a/java/org/apache/jasper/compiler/JspConfig.java 
b/java/org/apache/jasper/compiler/JspConfig.java
index 493c8fb..373db7c 100644
--- a/java/org/apache/jasper/compiler/JspConfig.java
+++ b/java/org/apache/jasper/compiler/JspConfig.java
@@ -377,7 +377,7 @@ public class JspConfig {
     }
 
     /**
-     * To find out if an uri matches an url pattern in jsp config.  If so,
+     * To find out if a uri matches a url pattern in jsp config.  If so,
      * then the uri is a JSP page.  This is used primarily for jspc.
      * @param uri The path to check
      * @return <code>true</code> if the path denotes a JSP page
diff --git a/java/org/apache/tomcat/util/digester/package.html 
b/java/org/apache/tomcat/util/digester/package.html
index 0a16423..4438ac5 100644
--- a/java/org/apache/tomcat/util/digester/package.html
+++ b/java/org/apache/tomcat/util/digester/package.html
@@ -1008,9 +1008,9 @@ The <code><em>public-identifier</em></code> is an 
additional free identifier whi
 </p>
 <p>
 In practice, the weakness with a <code><em>system-identifier</em></code> is 
that most parsers
-will attempt to interpret this URI as an URL, try to download the resource 
directly
+will attempt to interpret this URI as a URL, try to download the resource 
directly
 from the URL and stop the parsing if this download fails. So, this means that
-almost always the URI will have to be an URL from which the declaration
+almost always the URI will have to be a URL from which the declaration
 can be downloaded.
 </p>
 <p>


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

Reply via email to