Style suggestion

Robert Field robert.field at oracle.com
Sat May 14 00:56:47 UTC 2016


Thanks Jon,

Filed:
    https://bugs.openjdk.java.net/browse/JDK-8156984

-Robert

On 05/13/16 17:35, Jonathan Gibbons wrote:
> This pattern:
>
>  122         for (FormatCase e : EnumSet.allOf(FormatCase.class))
>
>
> is more simply written as
>
>  122         for (FormatCase e : FormatCase.values())
>
>
> -- Jon
>
>
>



More information about the kulla-dev mailing list