Make method package private
This commit is contained in:
parent
9d9ad16636
commit
a0bd20a937
@ -9,7 +9,7 @@ import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
|
|||||||
|
|
||||||
public class ThreadPoolTaskExecutorUnitTest {
|
public class ThreadPoolTaskExecutorUnitTest {
|
||||||
|
|
||||||
private void startThreads(ThreadPoolTaskExecutor taskExecutor, CountDownLatch countDownLatch, int numThreads) {
|
void startThreads(ThreadPoolTaskExecutor taskExecutor, CountDownLatch countDownLatch, int numThreads) {
|
||||||
for (int i = 0; i < numThreads; i++) {
|
for (int i = 0; i < numThreads; i++) {
|
||||||
taskExecutor.execute(() -> {
|
taskExecutor.execute(() -> {
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user