This is an automated email from the ASF dual-hosted git repository.
markt 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 5495a4a2da This appears to be unnecessary with Java 17+ and the
Eclipse 4.31
5495a4a2da is described below
commit 5495a4a2dac7189322f8f8bbe5c00e64997d4797
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Apr 16 18:48:30 2024 +0100
This appears to be unnecessary with Java 17+ and the Eclipse 4.31
---
java/org/apache/tomcat/util/threads/ThreadPoolExecutor.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/java/org/apache/tomcat/util/threads/ThreadPoolExecutor.java
b/java/org/apache/tomcat/util/threads/ThreadPoolExecutor.java
index 2cde45c15d..cc9fc70cf6 100644
--- a/java/org/apache/tomcat/util/threads/ThreadPoolExecutor.java
+++ b/java/org/apache/tomcat/util/threads/ThreadPoolExecutor.java
@@ -1123,7 +1123,6 @@ public class ThreadPoolExecutor extends
AbstractExecutorService {
*
* @param w the worker
*/
- @SuppressWarnings("null") // task cannot be null
final void runWorker(Worker w) {
Thread wt = Thread.currentThread();
Runnable task = w.firstTask;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]