You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/03/13 15:49:10 UTC
[commons-pool] branch master updated: Thread name does not need to
contain "thread".
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-pool.git
The following commit(s) were added to refs/heads/master by this push:
new ca6cef2 Thread name does not need to contain "thread".
ca6cef2 is described below
commit ca6cef201672f1d87ca28788056562be059b127c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Mar 13 10:49:07 2021 -0500
Thread name does not need to contain "thread".
---
src/main/java/org/apache/commons/pool2/impl/EvictionTimer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/pool2/impl/EvictionTimer.java b/src/main/java/org/apache/commons/pool2/impl/EvictionTimer.java
index e999815..4012bd0 100644
--- a/src/main/java/org/apache/commons/pool2/impl/EvictionTimer.java
+++ b/src/main/java/org/apache/commons/pool2/impl/EvictionTimer.java
@@ -55,7 +55,7 @@ class EvictionTimer {
@Override
public Thread newThread(final Runnable runnable) {
- final Thread thread = new Thread(null, runnable, "commons-pool-evictor-thread");
+ final Thread thread = new Thread(null, runnable, "commons-pool-evictor");
thread.setDaemon(true); // POOL-363 - Required for applications using Runtime.addShutdownHook().
AccessController.doPrivileged((PrivilegedAction<Void>) () -> {
thread.setContextClassLoader(EvictorThreadFactory.class.getClassLoader());