On Sat, 30 Apr 2022 17:00:03 GMT, Andrey Turbanov <aturba...@openjdk.org> wrote:

> Instead of pair `HashMap.containsKey`/`HashMap.get` method calls, we can use 
> single call `HashMap.getOrDefault`.
> It's faster and clearer.

Marked as reviewed by naoto (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/8487

Reply via email to