Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37862268
en ru br
Репозитории ALT
S:2.12.0-alt1_10jpp11
5.1: 1.2.0-alt2_2jpp5
4.1: 1.2.0-alt1_1jpp1.7
4.0: 1.2.0-alt1_1jpp1.7
www.altlinux.org/Changes

Группа :: Разработка/Java
Пакет: jmock

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: jmock-2.5.1-DeterministicSchedule.patch
Скачать


--- src/org/jmock/lib/concurrent/DeterministicScheduler.java	2008-06-23 14:06:51.000000000 +0200
+++ src/org/jmock/lib/concurrent/DeterministicScheduler.java-gil	2011-07-27 20:46:08.446224533 +0200
@@ -110,21 +110,21 @@
         throw blockingOperationsNotSupported();
     }
 
-    public <T> List<Future<T>> invokeAll(Collection<Callable<T>> tasks) throws InterruptedException {
+    public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) throws InterruptedException {
         throw blockingOperationsNotSupported();
     }
 
-    public <T> List<Future<T>> invokeAll(Collection<Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException {
+    public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException {
         throw blockingOperationsNotSupported();
     }
     
-    public <T> T invokeAny(Collection<Callable<T>> tasks)
+    public <T> T invokeAny(Collection<? extends Callable<T>> tasks)
         throws InterruptedException, ExecutionException 
     {
         throw blockingOperationsNotSupported();
     }
 
-    public <T> T invokeAny(Collection<Callable<T>> tasks, long timeout, TimeUnit unit) 
+    public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
         throws InterruptedException, ExecutionException, TimeoutException 
     {
         throw blockingOperationsNotSupported();
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin