This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
     new afa1241ba0 Fix typo
afa1241ba0 is described below

commit afa1241ba09096c7903f4ee236941798d3dc32e6
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 8fd82bd920..0976ca5b66 100644
--- a/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java
+++ b/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java
@@ -920,8 +920,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