Gentoo Archives: gentoo-commits

From: "Johann Schmitz (ercpe)" <ercpe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/jmock/files: 2.5.1-invokeAll-invokeAny.patch
Date: Fri, 28 Feb 2014 17:39:28
Message-Id: 20140228173923.E7D772004C@flycatcher.gentoo.org
1 ercpe 14/02/28 17:39:23
2
3 Added: 2.5.1-invokeAll-invokeAny.patch
4 Log:
5 Version bump of jmock wrt bug #213175
6
7 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 77C501ED)
8
9 Revision Changes Path
10 1.1 dev-java/jmock/files/2.5.1-invokeAll-invokeAny.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jmock/files/2.5.1-invokeAll-invokeAny.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/jmock/files/2.5.1-invokeAll-invokeAny.patch?rev=1.1&content-type=text/plain
14
15 Index: 2.5.1-invokeAll-invokeAny.patch
16 ===================================================================
17 diff --git a/jmock-2.5.1/src/org/jmock/lib/concurrent/DeterministicScheduler.java b/jmock-2.5.1/src/org/jmock/lib/concurrent/DeterministicScheduler.java
18 index 6dbc020..0dce41c 100644
19 --- a/jmock-2.5.1/src/org/jmock/lib/concurrent/DeterministicScheduler.java
20 +++ b/jmock-2.5.1/src/org/jmock/lib/concurrent/DeterministicScheduler.java
21 @@ -110,21 +110,21 @@ public class DeterministicScheduler implements ScheduledExecutorService {
22 throw blockingOperationsNotSupported();
23 }
24
25 - public <T> List<Future<T>> invokeAll(Collection<Callable<T>> tasks) throws InterruptedException {
26 + public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) throws InterruptedException {
27 throw blockingOperationsNotSupported();
28 }
29
30 - public <T> List<Future<T>> invokeAll(Collection<Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException {
31 + public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException {
32 throw blockingOperationsNotSupported();
33 }
34
35 - public <T> T invokeAny(Collection<Callable<T>> tasks)
36 + public <T> T invokeAny(Collection<? extends Callable<T>> tasks)
37 throws InterruptedException, ExecutionException
38 {
39 throw blockingOperationsNotSupported();
40 }
41
42 - public <T> T invokeAny(Collection<Callable<T>> tasks, long timeout, TimeUnit unit)
43 + public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
44 throws InterruptedException, ExecutionException, TimeoutException
45 {
46 throw blockingOperationsNotSupported();