Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@902958 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c92f2bcf4c
commit
a28d94ea5d
|
@ -168,7 +168,7 @@ public class TimedSemaphoreTest {
|
|||
.createMock(ScheduledExecutorService.class);
|
||||
ScheduledFuture<?> future = EasyMock.createMock(ScheduledFuture.class);
|
||||
prepareStartTimer(service, future);
|
||||
EasyMock.expect(future.cancel(false)).andReturn(true);
|
||||
EasyMock.expect(Boolean.valueOf(future.cancel(false))).andReturn(Boolean.TRUE);
|
||||
EasyMock.replay(service, future);
|
||||
TimedSemaphoreTestImpl semaphore = new TimedSemaphoreTestImpl(service,
|
||||
PERIOD, UNIT, LIMIT);
|
||||
|
|
Loading…
Reference in New Issue