oops,
no, the ';' is necessary here, sorry.

Rémi

----- Mail original -----
> De: "Remi Forax" <[email protected]>
> À: "mark reinhold" <[email protected]>
> Cc: "amber-spec-experts" <[email protected]>
> Envoyé: Mercredi 19 Septembre 2018 21:40:41
> Objet: Re: New JEP: Concise Method Bodies

> There is a ';' at the end of dayOfWeek that should not be there.
> 
>  String dayOfWeek(int d) -> switch (d) {
>    case 1 -> "SUNDAY";
>    case 2 -> "MONDAY";
>    ...
>  };  // <---- should be removed
> 
> 
> Rémi
> 
> ----- Mail original -----
>> De: "mark reinhold" <[email protected]>
>> À: "Alex Buckley" <[email protected]>
>> Cc: "amber-spec-experts" <[email protected]>
>> Envoyé: Mercredi 19 Septembre 2018 20:54:46
>> Objet: Re: New JEP: Concise Method Bodies
> 
>> 2018/9/19 11:42:16 -0700, [email protected]:
>>> https://bugs.openjdk.java.net/browse/JDK-8209434
>> 
>> Or, more readably: http://openjdk.java.net/jeps/8209434
>> 
> > - Mark

Reply via email to