Browse Source

fixed NPE on latch in test

pull/23217/head
Mark Fisher 17 years ago
parent
commit
6dd2ce940f
  1. 2
      org.springframework.context/src/test/java/org/springframework/scheduling/annotation/AsyncAnnotationBeanPostProcessorTests.java

2
org.springframework.context/src/test/java/org/springframework/scheduling/annotation/AsyncAnnotationBeanPostProcessorTests.java

@ -100,7 +100,7 @@ public class AsyncAnnotationBeanPostProcessorTests { @@ -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;

Loading…
Cancel
Save