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:45 UTC
(tomcat) branch 10.1.x updated: Rename method for clarity
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 a7bfce552e Rename method for clarity
a7bfce552e is described below
commit a7bfce552efdf60ac35d2d0fbc7699f34ed1ad2b
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 c5f68b1b81..c78854da96 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