You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/08/16 17:10:39 UTC
[tomcat] branch 9.0.x updated: Fix comment typo
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 7c7795fdba Fix comment typo
7c7795fdba is described below
commit 7c7795fdba30a56cef2d92bc8f8bb8be1d2eb2b5
Author: Mark Thomas <ma...@apache.org>
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 8cb4ff0087..4b776cd0a0 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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org