RFR: 8300731: Avoid unnecessary array fill after creation in PaletteBuilder

Sergey Bylokhov serb at openjdk.org
Fri Jan 20 08:23:06 UTC 2023


On Thu, 19 Jan 2023 19:32:05 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

> No need to fill elements of array with `null`: it was just created. Java guarantees that all elements of array are `null`s anyway.

looks fine

-------------

PR: https://git.openjdk.org/jdk/pull/12101



More information about the client-libs-dev mailing list