This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push: new 81a7919 Avoid IDE warnings when configuring Eclipse to use 11 with --release 8 81a7919 is described below commit 81a791941d760e548018c23c509269b9915f6156 Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu Jan 13 16:55:54 2022 +0000 Avoid IDE warnings when configuring Eclipse to use 11 with --release 8 --- java/org/apache/juli/OneLineFormatter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/java/org/apache/juli/OneLineFormatter.java b/java/org/apache/juli/OneLineFormatter.java index 3f1e4f6..7419d8b 100644 --- a/java/org/apache/juli/OneLineFormatter.java +++ b/java/org/apache/juli/OneLineFormatter.java @@ -24,7 +24,6 @@ import java.lang.management.ThreadInfo; import java.lang.management.ThreadMXBean; import java.util.LinkedHashMap; import java.util.Map; -import java.util.Map.Entry; import java.util.logging.Formatter; import java.util.logging.LogManager; import java.util.logging.LogRecord; @@ -263,7 +262,7 @@ public class OneLineFormatter extends Formatter { } @Override - protected boolean removeEldestEntry(Entry<Integer, String> eldest) { + protected boolean removeEldestEntry(Map.Entry<Integer, String> eldest) { return (size() > cacheSize); } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org