X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=common%2Futil%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Futil%2Fconcurrent%2FAsyncNotifyingListeningExecutorServiceTest.java;h=bfc9303561f6000880e8e2cc646dd6bf35e4eadd;hb=c24d6e2f39acbb11e22b5676bb7481ed52bec461;hp=83451004f824a0b7edc89e8961e17b0388ce32e2;hpb=79e65073366934c6066c66336a23e4a3ac21fcd0;p=yangtools.git diff --git a/common/util/src/test/java/org/opendaylight/yangtools/util/concurrent/AsyncNotifyingListeningExecutorServiceTest.java b/common/util/src/test/java/org/opendaylight/yangtools/util/concurrent/AsyncNotifyingListeningExecutorServiceTest.java index 83451004f8..bfc9303561 100644 --- a/common/util/src/test/java/org/opendaylight/yangtools/util/concurrent/AsyncNotifyingListeningExecutorServiceTest.java +++ b/common/util/src/test/java/org/opendaylight/yangtools/util/concurrent/AsyncNotifyingListeningExecutorServiceTest.java @@ -30,6 +30,7 @@ import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicReference; +import javax.annotation.Nonnull; import org.junit.After; import org.junit.Test; import org.opendaylight.yangtools.util.concurrent.CommonTestUtils.Invoker; @@ -150,7 +151,7 @@ public class AsyncNotifyingListeningExecutorServiceTest { } @Override - public void onFailure( Throwable t ) { + public void onFailure( @Nonnull Throwable t ) { // Shouldn't happen t.printStackTrace(); }