Hi,

On Wed, Jan 29, 2014 at 4:49 AM, Michael Dürig <[email protected]> wrote:
> On 29.1.14 2:46 , [email protected] wrote:
>>           if (!continuations.isEmpty()) {
>> -            continuations.removeFirst().run();
>> +            Continuation c = continuations.removeFirst();
>> +            c.after.compareAgainstBaseState(c.before, c);
>>           }
>
> I preferred the former variant as it resembled more explicitly the notation
> of a continuation: the rest of the computation.

Agreed. The reduction in implemented interfaces that I was going for
indeed doesn't seem to justify the break in encapsulation.

I restored the run() method in r1562457, along with some related javadoc.

BR,

Jukka Zitting

Reply via email to