Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37856519
en ru br
ALT Linux repos
S:2.12.0-alt1_10jpp11
5.0: 1.2.0-alt1_2jpp5
4.1: 1.2.0-alt1_1jpp1.7
4.0: 1.2.0-alt1_1jpp1.7

Group :: Development/Java
RPM: jmock

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: jmock-2.5.1-DeterministicSchedule.patch
Download


--- 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();
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin