RFR: 8050091: LinkedList has incorrect implementation comment

Martin Buchholz martinrb at google.com
Sat Jun 27 18:54:01 UTC 2015


On Sat, Jun 27, 2015 at 5:46 AM, Ivan Gerasimov <ivan.gerasimov at oracle.com>
wrote:

> Hi Martin!
>
> Thank you for this cleanup!
> Removal of wrong comments looks fine.
>
> But your webrev contains commented checkInvariants() method.
> Is it a leftover from debugging or something?
>

It could be used for debugging, but it's primarily the (corrected!)
documentation of the invariants of the fields, expressed in executable code.



More information about the core-libs-dev mailing list