adoroszlai opened a new pull request #302: HDDS-2656. Prefer execute() over 
submit() if the returned Future is ignored
URL: https://github.com/apache/hadoop-ozone/pull/302
 
 
   ## What changes were proposed in this pull request?
   
   `Future submit(Runnable)` and `void execute(Runnable)` in `ExecutorService` 
have the same result.  If the returned `Future` is ignored, `execute` can be 
used instead of `submit` to avoid creating some objects.
   
   https://issues.apache.org/jira/browse/HDDS-2656
   
   ## How was this patch tested?
   
   https://github.com/adoroszlai/hadoop-ozone/runs/333081135

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org

Reply via email to