BUG-7003: Remove Thread.sleep() calls in tests
[bgpcep.git] / bgp / rib-impl / src / test / java / org / opendaylight / protocol / bgp / rib / impl / CheckUtil.java
index 8d16e484037ad27522dac55421883f655670e7c5..7a3d5bf4edbc17c6b6d1f20b4898a7bee8f7e50f 100644 (file)
@@ -61,7 +61,7 @@ public final class CheckUtil {
         throw lastError;
     }
 
-
+    @SuppressWarnings("unchecked")
     public static <T extends Future> void waitFutureSuccess(final T future) {
         final CountDownLatch latch = new CountDownLatch(1);
         future.addListener(future1 -> latch.countDown());