This is an automated email from the ASF dual-hosted git repository.
markt-asf 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 7c2894fdcf Fix IDE warning
7c2894fdcf is described below
commit 7c2894fdcf852d1bf6c73b302667619226fe3746
Author: Mark Thomas <[email protected]>
AuthorDate: Wed Nov 18 19:59:10 2026 +0000
Fix IDE warning
---
test/org/apache/el/TestMethodInvocationAllocation.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/org/apache/el/TestMethodInvocationAllocation.java
b/test/org/apache/el/TestMethodInvocationAllocation.java
index 24dac6f6ef..c4cae25eb3 100644
--- a/test/org/apache/el/TestMethodInvocationAllocation.java
+++ b/test/org/apache/el/TestMethodInvocationAllocation.java
@@ -67,7 +67,7 @@ public class TestMethodInvocationAllocation {
private static ELContext createContext(ExpressionFactory factory) {
StandardELContext context = new StandardELContext(factory);
context.getVariableMapper().setVariable("map",
- factory.createValueExpression(new
ConcurrentHashMap<String,String>(), Object.class));
+ factory.createValueExpression(new ConcurrentHashMap<>(),
Object.class));
return context;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]