On Fri, 30 Aug 2024 15:14:06 GMT, Alexey Ivanov <[email protected]> wrote:

> It's possible to use `Map.of` if you put the condition as a conditional 
> operator to each value. Yet it would make the intention less clear.

Yeah that can be done but current implementation look ok to me as well.

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

PR Comment: https://git.openjdk.org/jdk/pull/20741#issuecomment-2323794361

Reply via email to