From 3ab169bf73788f35abea92efceab868a82584a39 Mon Sep 17 00:00:00 2001 From: lihengjun Date: Sun, 6 Dec 2015 13:01:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9AqueueSize=20?= =?UTF-8?q?=E5=A4=A7=E4=BA=8E0=E6=97=B6=20=E6=B2=A1=E6=9C=89=E8=AE=BE?= =?UTF-8?q?=E7=BD=AEqueue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/springside/modules/utils/ThreadPoolBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/utils/src/main/java/org/springside/modules/utils/ThreadPoolBuilder.java b/modules/utils/src/main/java/org/springside/modules/utils/ThreadPoolBuilder.java index 434399fa0..34f42fba8 100644 --- a/modules/utils/src/main/java/org/springside/modules/utils/ThreadPoolBuilder.java +++ b/modules/utils/src/main/java/org/springside/modules/utils/ThreadPoolBuilder.java @@ -80,7 +80,7 @@ public ExecutorService build() { if (queueSize == 0) { queue = new LinkedBlockingQueue(); } else { - new ArrayBlockingQueue(queueSize); + queue = new ArrayBlockingQueue(queueSize); } if (threadFactory == null) {