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 2024/07/22 19:27:52 UTC
(tomcat) branch 9.0.x updated: Rename method for clarity
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 a3a4fac952 Rename method for clarity
a3a4fac952 is described below
commit a3a4fac952a98e9c08e9a5a2fb1a7adf9ef089f1
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Jul 22 20:27:13 2024 +0100
Rename method for clarity
---
test/org/apache/catalina/filters/TestCorsFilter.java | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/test/org/apache/catalina/filters/TestCorsFilter.java b/test/org/apache/catalina/filters/TestCorsFilter.java
index 7b0ad2e734..dc6affb3b8 100644
--- a/test/org/apache/catalina/filters/TestCorsFilter.java
+++ b/test/org/apache/catalina/filters/TestCorsFilter.java
@@ -418,40 +418,40 @@ public class TestCorsFilter {
*/
@Test
public void testDoFilterSameHostWithOrigin01() throws IOException, ServletException {
- doTestDoFilterSameHostWithOrigin01("http://localhost:8080", "http", "localhost", 8080, false);
+ doTestDoFilterSameHostWithOrigin("http://localhost:8080", "http", "localhost", 8080, false);
}
@Test
public void testDoFilterSameHostWithOrigin02() throws IOException, ServletException {
- doTestDoFilterSameHostWithOrigin01("http://localhost:8080", "https", "localhost", 8080, true);
+ doTestDoFilterSameHostWithOrigin("http://localhost:8080", "https", "localhost", 8080, true);
}
@Test
public void testDoFilterSameHostWithOrigin03() throws IOException, ServletException {
- doTestDoFilterSameHostWithOrigin01("http://localhost:8080", "http", "localhost", 8081, true);
+ doTestDoFilterSameHostWithOrigin("http://localhost:8080", "http", "localhost", 8081, true);
}
@Test
public void testDoFilterSameHostWithOrigin04() throws IOException, ServletException {
- doTestDoFilterSameHostWithOrigin01("http://localhost:8080", "http", "foo.dev.local", 8080, true);
+ doTestDoFilterSameHostWithOrigin("http://localhost:8080", "http", "foo.dev.local", 8080, true);
}
@Test
public void testDoFilterSameHostWithOrigin05() throws IOException, ServletException {
- doTestDoFilterSameHostWithOrigin01("https://localhost:8443", "https", "localhost", 8443, false);
+ doTestDoFilterSameHostWithOrigin("https://localhost:8443", "https", "localhost", 8443, false);
}
@Test
public void testDoFilterSameHostWithOrigin06() throws IOException, ServletException {
- doTestDoFilterSameHostWithOrigin01("https://localhost", "https", "localhost", 443, false);
+ doTestDoFilterSameHostWithOrigin("https://localhost", "https", "localhost", 443, false);
}
@Test
public void testDoFilterSameHostWithOrigin07() throws IOException, ServletException {
- doTestDoFilterSameHostWithOrigin01("http://localhost", "http", "localhost", 80, false);
+ doTestDoFilterSameHostWithOrigin("http://localhost", "http", "localhost", 80, false);
}
- private void doTestDoFilterSameHostWithOrigin01(String origin, String scheme, String host, int port, boolean isCors)
+ private void doTestDoFilterSameHostWithOrigin(String origin, String scheme, String host, int port, boolean isCors)
throws IOException, ServletException {
TesterHttpServletRequest request = new TesterHttpServletRequest();
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org