This is an automated email from the ASF dual-hosted git repository.

rmaucher pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new 046e3f28f7 Fix attribute name
046e3f28f7 is described below

commit 046e3f28f7322c946fafc88f258f226de4f51f10
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]

Reply via email to