未验证 提交 29a083ca 编写于 作者: D dailidong 提交者: GitHub

Update ThreadUtilsTest.java

上级 8e0fb353
...@@ -37,7 +37,7 @@ public class ThreadUtilsTest { ...@@ -37,7 +37,7 @@ public class ThreadUtilsTest {
@Test @Test
public void testNewDaemonFixedThreadExecutor() { public void testNewDaemonFixedThreadExecutor() {
// create core size and max size are all 3 // create core size and max size are all 3
ExecutorService testExec = ThreadUtils.newDaemonFixedThreadExecutor("test-exec-thread", 3); ExecutorService testExec = ThreadUtils.newDaemonFixedThreadExecutor("test-exec-thread",3);
for (int i = 0; i < 2; i++) { for (int i = 0; i < 2; i++) {
final int index = i; final int index = i;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册