On Thu, Nov 17, 2016 at 11:17 PM, Remi Forax <fo...@univ-mlv.fr> wrote:

> ----- Mail original -----
> > De: "Martin Buchholz" <marti...@google.com>
> > À: "Paul Sandoz" <paul.san...@oracle.com>
> > Cc: "core-libs-dev" <core-libs-dev@openjdk.java.net>
> > Envoyé: Vendredi 18 Novembre 2016 05:29:12
> > Objet: Re: RFR: jsr166 jdk9 integration wave 12
>
> [..]
>
>
> >>  317         c.forEach(e -> addLast(e));
> >>
> >> this::addLast, up to you which you prefer
> >>
> >>
> > Meh.  Left as is; another vote could tip to the other side.
> >
> >
>
> I like the rule that says, use a method reference if you can and a lambda
> otherwise.
> so i vote for this::addLast :)
>
>
Done!  Seems like a good rule to adopt.


> Rémi
>

Reply via email to