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 4fa5dc67e1a74d8a57b6464f763317eabc7875c6 Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu Oct 6 13:55:48 2022 +0100 Switch Deque implementations from LinkedList to ArrayDeque --- java/javax/el/ELContext.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/javax/el/ELContext.java b/java/javax/el/ELContext.java index d33d8b326c..1dad8fd68e 100644 --- a/java/javax/el/ELContext.java +++ b/java/javax/el/ELContext.java @@ -16,11 +16,11 @@ */ package javax.el; +import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Collections; import java.util.Deque; import java.util.HashMap; -import java.util.LinkedList; import java.util.List; import java.util.Locale; import java.util.Map; @@ -38,7 +38,7 @@ public abstract class ELContext { private List<EvaluationListener> listeners; - private Deque<Map<String,Object>> lambdaArguments = new LinkedList<>(); + private Deque<Map<String,Object>> lambdaArguments = new ArrayDeque<>(); public ELContext() { this.resolved = false; --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org