This is an automated email from the ASF dual-hosted git repository.
rmaucher 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 941398b878 Fix attribute name
941398b878 is described below
commit 941398b87875046c2a087985480a36a869d40d2b
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 dd451fb7a3..5ac8884a94 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]