This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push:
new 2711640ec8 Fix comment typo
2711640ec8 is described below
commit 2711640ec820d413f3ff59bc9731c5477762e4ef
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Aug 16 18:04:14 2022 +0100
Fix comment typo
---
java/org/apache/coyote/http2/Stream.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/coyote/http2/Stream.java
b/java/org/apache/coyote/http2/Stream.java
index 820091e7f3..304187771e 100644
--- a/java/org/apache/coyote/http2/Stream.java
+++ b/java/org/apache/coyote/http2/Stream.java
@@ -152,7 +152,7 @@ class Stream extends AbstractNonZeroStream implements
HeaderEmitter {
throw new IllegalArgumentException();
}
// This processing expects bytes. Server push will have used a String
- // to trigger a conversion if required.
+ // so trigger a conversion if required.
hostValueMB.toBytes();
ByteChunk valueBC = hostValueMB.getByteChunk();
byte[] valueB = valueBC.getBytes();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]