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


The following commit(s) were added to refs/heads/master by this push:
     new 2de31a7  Fix comment typo
2de31a7 is described below

commit 2de31a7f7daedd96b88f12f73f182ebc6c1be5cc
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue May 14 14:13:41 2019 +0100

    Fix comment typo
---
 java/org/apache/catalina/servlets/DefaultServlet.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/catalina/servlets/DefaultServlet.java 
b/java/org/apache/catalina/servlets/DefaultServlet.java
index 3d15a4a..205d302 100644
--- a/java/org/apache/catalina/servlets/DefaultServlet.java
+++ b/java/org/apache/catalina/servlets/DefaultServlet.java
@@ -1235,7 +1235,7 @@ public class DefaultServlet extends HttpServlet {
             return null;
         }
 
-        // Look for 4-bute BOMs
+        // Look for 4-byte BOMs
         int b3 = bom[3] & 0xFF;
         if (b0 == 0x00 && b1 == 0x00 && b2 == 0xFE && b3 == 0xFF) {
             return Charset.forName("UTF32-BE");


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

Reply via email to