This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new c671586e2e Remove unnecessary volatile
c671586e2e is described below
commit c671586e2e6beb8d8b073431f87eb8a5217ceb0a
Author: Mark Thomas <[email protected]>
AuthorDate: Wed Nov 4 16:26:39 2026 +0000
Remove unnecessary volatile
---
java/org/apache/tomcat/util/threads/InlineExecutorService.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/tomcat/util/threads/InlineExecutorService.java
b/java/org/apache/tomcat/util/threads/InlineExecutorService.java
index 52ca30bf79..7d788e0007 100644
--- a/java/org/apache/tomcat/util/threads/InlineExecutorService.java
+++ b/java/org/apache/tomcat/util/threads/InlineExecutorService.java
@@ -34,7 +34,7 @@ public class InlineExecutorService extends
AbstractExecutorService {
}
private volatile boolean shutdown;
- private volatile int runningTasks;
+ private int runningTasks;
private volatile boolean terminated;
private final Object lock = new Object();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]