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 64a187283c Fix typo
64a187283c is described below

commit 64a187283c4301db58946fcf2fb6f802a6bf69ef
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Mar 6 20:52:05 2023 +0000

    Fix typo
---
 test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java 
b/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java
index f2c4c20f3d..5572116c96 100644
--- a/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java
+++ b/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java
@@ -922,8 +922,8 @@ public class TestAbstractAjpProcessor extends 
TomcatBaseTest {
         Map<String,List<String>> headerMap = new HashMap<>();
         for (int i = 0; i < headerCount; i++) {
             String headerName = message.readHeaderName();
-            String heaverValue = message.readString();
-            headerMap.computeIfAbsent(headerName, k -> new 
ArrayList<>()).add(heaverValue);
+            String headerValue = message.readString();
+            headerMap.computeIfAbsent(headerName, k -> new 
ArrayList<>()).add(headerValue);
         }
 
         return headerMap;


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

Reply via email to