Simplify git-svn-id: https://svn.apache.org/repos/asf/commons/proper/pool/trunk@1767832 13f79535-47bb-0310-9956-ffa450edef68
Project: http://git-wip-us.apache.org/repos/asf/commons-pool/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-pool/commit/741d1f5c Tree: http://git-wip-us.apache.org/repos/asf/commons-pool/tree/741d1f5c Diff: http://git-wip-us.apache.org/repos/asf/commons-pool/diff/741d1f5c Branch: refs/heads/master Commit: 741d1f5c6d3cbfbf232d604d7c8fb9809b5449e7 Parents: ed91f49 Author: Mark Thomas <ma...@apache.org> Authored: Thu Nov 3 08:09:38 2016 +0000 Committer: Mark Thomas <ma...@apache.org> Committed: Thu Nov 3 08:09:38 2016 +0000 ---------------------------------------------------------------------- src/main/java/org/apache/commons/pool2/impl/EvictionTimer.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-pool/blob/741d1f5c/src/main/java/org/apache/commons/pool2/impl/EvictionTimer.java ---------------------------------------------------------------------- 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 b448141..4b20a45 100644 --- a/src/main/java/org/apache/commons/pool2/impl/EvictionTimer.java +++ b/src/main/java/org/apache/commons/pool2/impl/EvictionTimer.java @@ -110,8 +110,7 @@ class EvictionTimer { @Override public Thread newThread(final Runnable r) { - final Thread t = new Thread(null, r, "commons-pool-evictor-thrreads"); - t.setName("commons-pool-evictor"); + final Thread t = new Thread(null, r, "commons-pool-evictor-thread"); AccessController.doPrivileged(new PrivilegedAction<Void>() { @Override