[tomcat] 02/02: Better variable name. These are request headers, not response headers.

2021-03-22 Thread markt
This is an automated email from the ASF dual-hosted git repository.

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

commit aabee092ded7d043a61bdbee5e39209872b4ecd1
Author: Mark Thomas 
AuthorDate: Mon Mar 22 16:16:44 2021 +

Better variable name. These are request headers, not response headers.
---
 test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java 
b/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java
index 6217083..939d20d 100644
--- a/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java
+++ b/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java
@@ -126,9 +126,9 @@ public class TestNonBlockingAPI extends TomcatBaseTest {
 
 tomcat.start();
 
-Map> resHeaders = new HashMap<>();
+Map> reqHeaders = new HashMap<>();
 int rc = postUrl(true, new DataWriter(async ? 0 : 500, async ? 200 
: 5),
-"http://localhost:; + getPort() + "/", new ByteChunk(), 
resHeaders, null);
+"http://localhost:; + getPort() + "/", new ByteChunk(), 
reqHeaders, null);
 
 Assert.assertEquals(HttpServletResponse.SC_OK, rc);
 if (async) {

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



[tomcat] 02/02: Better variable name. These are request headers, not response headers.

2021-03-22 Thread markt
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

commit 57396e91e6b24ac1f61d226ba997fba9f3d76c6e
Author: Mark Thomas 
AuthorDate: Mon Mar 22 16:16:44 2021 +

Better variable name. These are request headers, not response headers.
---
 test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java 
b/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java
index 9c611bc..6cbb49c 100644
--- a/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java
+++ b/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java
@@ -126,9 +126,9 @@ public class TestNonBlockingAPI extends TomcatBaseTest {
 
 tomcat.start();
 
-Map> resHeaders = new HashMap<>();
+Map> reqHeaders = new HashMap<>();
 int rc = postUrl(true, new DataWriter(async ? 0 : 500, async ? 200 
: 5),
-"http://localhost:; + getPort() + "/", new ByteChunk(), 
resHeaders, null);
+"http://localhost:; + getPort() + "/", new ByteChunk(), 
reqHeaders, null);
 
 Assert.assertEquals(HttpServletResponse.SC_OK, rc);
 if (async) {

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



[tomcat] 02/02: Better variable name. These are request headers, not response headers.

2021-03-22 Thread markt
This is an automated email from the ASF dual-hosted git repository.

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

commit 174fa5679b401bfbff11392dac01a6f662ddf700
Author: Mark Thomas 
AuthorDate: Mon Mar 22 16:16:44 2021 +

Better variable name. These are request headers, not response headers.
---
 test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java 
b/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java
index 738b2aa..a4eaddc 100644
--- a/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java
+++ b/test/org/apache/catalina/nonblocking/TestNonBlockingAPI.java
@@ -127,9 +127,9 @@ public class TestNonBlockingAPI extends TomcatBaseTest {
 
 tomcat.start();
 
-Map> resHeaders = new HashMap<>();
+Map> reqHeaders = new HashMap<>();
 int rc = postUrl(true, new DataWriter(async ? 0 : 500, async ? 200 
: 5),
-"http://localhost:; + getPort() + "/", new ByteChunk(), 
resHeaders, null);
+"http://localhost:; + getPort() + "/", new ByteChunk(), 
reqHeaders, null);
 
 Assert.assertEquals(HttpServletResponse.SC_OK, rc);
 if (async) {

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