This is an automated email from the ASF dual-hosted git repository.
markt-asf 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 02881a7c4c Remove unnecessary volatile
02881a7c4c is described below
commit 02881a7c4c1319abdcc5f8df8a6fd11fb7c01f94
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]