On Mon, 1 Aug 2022 06:51:44 GMT, Andrey Turbanov <aturba...@openjdk.org> wrote:

> I propose to replace usages of !Optional.isPresent() with Optional.isEmpty 
> method.
> It's makes code a bit easier to read.
> Noticing negation before long chain of method calls is hard.

Marked as reviewed by rriggs (Reviewer).

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

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

Reply via email to