Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversions from ApiFuture to CompletableFuture #32

Merged
merged 4 commits into from
Nov 16, 2018

Conversation

emmmile
Copy link
Contributor

@emmmile emmmile commented Nov 16, 2018

@balaji we will need to add tests.

@coveralls
Copy link

coveralls commented Nov 16, 2018

Coverage Status

Coverage remained the same at ?% when pulling 31e54be on emmmile:emilio/apifuture into d79facc on spotify:master.

@Test
public void testToCompletableFutureFromApiFutureUnwrap() {
final ApiFuture<String> apiFuture = SettableApiFuture.create();
CompletableFuture<String> wrapped = toCompletableFuture(apiFuture);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing final?

@spkrka spkrka merged commit a94ff99 into spotify:master Nov 16, 2018
spkrka pushed a commit that referenced this pull request Nov 16, 2018
* conversions from ApiFuture to CompletableFuture

* adding tests for ApiFuture to CompletableFuture

* make apifuture wrapper more inline with listenablefuture wrapper

* implemented tests for CompletableFuture to ApiFuture
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants