Merge branch 'stable-2.15'

* stable-2.15:
  Return ScheduledExecutorService in WorkQueue.createQueue method

Change-Id: I67e7b7665ea080096a279b228a2e7b5bfe6ea93f
This commit is contained in:
David Pursehouse
2018-06-21 06:56:56 +09:00

View File

@@ -122,7 +122,7 @@ public class WorkQueue {
* @param poolsize the size of the pool.
* @param queueName the name of the queue.
*/
public ScheduledThreadPoolExecutor createQueue(int poolsize, String queueName) {
public ScheduledExecutorService createQueue(int poolsize, String queueName) {
return createQueue(poolsize, queueName, Thread.NORM_PRIORITY, false);
}