[tomcat] branch master updated: Fix comment typo

2021-02-01 Thread markt
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 7ed844c  Fix comment typo
7ed844c is described below

commit 7ed844c07eb4f90e2d92538be5b57824d780912d
Author: Mark Thomas 
AuthorDate: Mon Feb 1 10:19:32 2021 +

Fix comment typo
---
 java/org/apache/coyote/http2/Http2UpgradeHandler.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/coyote/http2/Http2UpgradeHandler.java 
b/java/org/apache/coyote/http2/Http2UpgradeHandler.java
index 054f3bc..e5e0cf7 100644
--- a/java/org/apache/coyote/http2/Http2UpgradeHandler.java
+++ b/java/org/apache/coyote/http2/Http2UpgradeHandler.java
@@ -1227,7 +1227,7 @@ class Http2UpgradeHandler extends AbstractStream 
implements InternalHttpUpgradeH
 if (stream.isClosedFinal()) {
 // This stream went from IDLE to CLOSED and is likely to have
 // been created by the client as part of the priority tree.
-// Candidate for steo 3.
+// Candidate for step 3.
 candidatesStepThree.add(stream.getIdentifier());
 } else if (stream.getChildStreams().size() == 0) {
 // Prune it


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



[tomcat] branch master updated: Fix comment typo

2019-05-14 Thread markt
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 
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