Remove the redundant termination clause from within the loop. Since
the check is done at the end of the loop, it's entirely redundant
to the 'while' condition. If termination was requested, the latter
will become false and the 'while' loop will terminate, resulting
in the 'return' statement below the loop being executed (which is
equivalent to the one used inside 'if').
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
That sounds correct. The extra check must have crept in because of all the refactors this class has gone through to support all possible event handling mechanisms...