Deprecated the after pattern supporting methods which accept a value of Future or CompletionStage. (#25817)

This commit is contained in:
kerr 2019-03-15 17:11:55 +08:00 committed by Johan Andrén
parent 38b8c08640
commit 7649264998
4 changed files with 20 additions and 10 deletions

View file

@ -637,7 +637,6 @@ public class FutureDocTest extends AbstractJavaTest {
public void useOnOnComplete() throws Exception {
{
Future<String> future = Futures.successful("foo");
// #onComplete
final ExecutionContext ec = system.dispatcher();