fixed NPE on latch in test
This commit is contained in:
@@ -100,7 +100,7 @@ public class AsyncAnnotationBeanPostProcessorTests {
|
||||
|
||||
private Thread thread;
|
||||
|
||||
private CountDownLatch latch;
|
||||
private final CountDownLatch latch = new CountDownLatch(1);
|
||||
|
||||
public Thread getThread() {
|
||||
return this.thread;
|
||||
|
||||
Reference in New Issue
Block a user