Toggle navigation
Home
java.lang.Integer to java.util.concurrent.Future<java.lang.Integer>
No. of Instances - 2
No. of Commits - 1
No. of Projects - {'cryptomator'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Other
amount
to
amount
amount
to
amount
Cascading Type Change (Similar)
Integer
to
Future<Integer>
Answer<Integer>
to
Answer<Future<Integer>>
Integer
to
Future<Integer>
Answer<Integer>
to
Answer<Future<Integer>>
Update Anonymous class
{ @Override public Integer answer( InvocationOnMock invocation) throws Throwable { target.position(target.position() + amount); return amount; } }
to
{ @Override public Future<Integer> answer( InvocationOnMock invocation) throws Throwable { target.position(target.position() + amount); return constantFuture(amount); } }
{ @Override public Integer answer( InvocationOnMock invocation) throws Throwable { target.position(target.position() + amount); return amount; } }
to
{ @Override public Future<Integer> answer( InvocationOnMock invocation) throws Throwable { target.position(target.position() + amount); return constantFuture(amount); } }