This is an automated email from the ASF dual-hosted git repository.
rmaucher 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 5061dfb754 Java compatibility
5061dfb754 is described below
commit 5061dfb7543ad8c3ffd1e52ba2674e733420258a
Author: remm <[email protected]>
AuthorDate: Tue Oct 13 11:41:04 2026 +0200
Java compatibility
---
java/org/apache/catalina/servlets/DefaultServlet.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/catalina/servlets/DefaultServlet.java
b/java/org/apache/catalina/servlets/DefaultServlet.java
index 4947a2aa40..878f391c3c 100644
--- a/java/org/apache/catalina/servlets/DefaultServlet.java
+++ b/java/org/apache/catalina/servlets/DefaultServlet.java
@@ -1523,7 +1523,7 @@ public class DefaultServlet extends HttpServlet {
continue;
}
if ("*".equals(encoding)) {
- bestResource = precompressedResources.getFirst();
+ bestResource = precompressedResources.get(0);
bestResourceQuality = quality;
bestResourcePreference = 0;
continue;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]