-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/65150/#review195431
-----------------------------------------------------------


Fix it, then Ship it!





3rdparty/libprocess/include/process/queue.hpp
Lines 69 (patched)
<https://reviews.apache.org/r/65150/#comment274613>

    It seems like some mental overhead to realize that `future` should only 
ever be pending if it comes from the first branch of the if block above and not 
the else. Why not just include this within the if block above?



3rdparty/libprocess/include/process/queue.hpp
Lines 74 (patched)
<https://reviews.apache.org/r/65150/#comment274614>

    I personally prefer nesting these as it's less prone to copy-pasta 
mistakes, but up to you.


- Benjamin Hindman


On Jan. 13, 2018, 9:35 p.m., Benjamin Mahler wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/65150/
> -----------------------------------------------------------
> 
> (Updated Jan. 13, 2018, 9:35 p.m.)
> 
> 
> Review request for mesos and Benjamin Hindman.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> See summary.
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/include/process/queue.hpp 
> 4d1c2cfa811b9377da8631311aaf39634695eae6 
> 
> 
> Diff: https://reviews.apache.org/r/65150/diff/1/
> 
> 
> Testing
> -------
> 
> Added a test in the subsequent patch.
> 
> 
> Thanks,
> 
> Benjamin Mahler
> 
>

Reply via email to