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

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


The following commit(s) were added to refs/heads/main by this push:
     new 37fc50107b Fix typo
37fc50107b is described below

commit 37fc50107becca6593dd73e8c1aaf0503ec3fc4c
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 023b7e00e4..a49ba87ea6 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