This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 1bd0231d22 Fix IDE warning
1bd0231d22 is described below
commit 1bd0231d2294b12a9436297802fc8b348bbf0273
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Aug 28 07:36:57 2026 +0100
Fix IDE warning
---
test/org/apache/catalina/valves/rewrite/TestRewriteValve.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/org/apache/catalina/valves/rewrite/TestRewriteValve.java
b/test/org/apache/catalina/valves/rewrite/TestRewriteValve.java
index 3634872943..f5d3105c6d 100644
--- a/test/org/apache/catalina/valves/rewrite/TestRewriteValve.java
+++ b/test/org/apache/catalina/valves/rewrite/TestRewriteValve.java
@@ -881,7 +881,7 @@ public class TestRewriteValve extends TomcatBaseTest {
RewriteCond condition = new RewriteCond();
condition.setTestString("%{QUERY_STRING}");
condition.setCondPattern("!^a=([0-9]+)$");
- condition.parse(new HashMap<String, RewriteMap>());
+ condition.parse(new HashMap<>());
Matcher rule = Pattern.compile(".*").matcher("/b");
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]