pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] lovelle opened a new pull request #3270: Relay on CompletableFuture utils
Date Mon, 31 Dec 2018 20:28:02 GMT
lovelle opened a new pull request #3270: Relay on CompletableFuture utils
URL: https://github.com/apache/pulsar/pull/3270
 
 
   ### Motivation
   
   Use static method `allOf()` from CompletableFuture instead of custom logic to return a
new future
   which represents the completion of each received future from collection.
   
   ### Modifications
   
   Replace custom logic with `CompletableFuture.allOf()`
   
   ### Result
   
   Easier maintainable and cleaner code.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message