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 50443df6cb Fix attribute name
50443df6cb is described below
commit 50443df6cbecbc6fa6b013450f7a53ef6b96adff
Author: remm <[email protected]>
AuthorDate: Wed Sep 2 21:52:00 2026 +0200
Fix attribute name
Found by code review.
---
java/org/apache/catalina/util/RateLimiterBase.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/catalina/util/RateLimiterBase.java
b/java/org/apache/catalina/util/RateLimiterBase.java
index 5ff2f7cb27..758a653145 100644
--- a/java/org/apache/catalina/util/RateLimiterBase.java
+++ b/java/org/apache/catalina/util/RateLimiterBase.java
@@ -137,7 +137,7 @@ public abstract class RateLimiterBase implements
RateLimiter {
public void setFilterConfig(FilterConfig filterConfig) {
ScheduledExecutorService executorService = (ScheduledExecutorService)
filterConfig.getServletContext()
- .getAttribute(ScheduledThreadPoolExecutor.class.getName());
+
.getAttribute(org.apache.tomcat.util.threads.ScheduledThreadPoolExecutor.class.getName());
if (executorService == null) {
internalExecutorService = new
java.util.concurrent.ScheduledThreadPoolExecutor(1);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]