On Sat, 2 Oct 2021 09:14:49 GMT, Andrey Turbanov <github.com+741251+turban...@openjdk.org> wrote:
> Flipping arguments of 'equals' method, allows simplifying boolean > expressions: now we can remove redundant null check before. This pull request has now been integrated. Changeset: f640c7aa Author: Andrey Turbanov <turban...@gmail.com> Committer: Sergey Bylokhov <s...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/f640c7aaa852b6c0e9144654b7222a6777201370 Stats: 17 lines in 11 files changed: 0 ins; 1 del; 16 mod 8274806: Simplify equals() call on nullable variable and a constant in java.desktop Reviewed-by: serb, pbansal ------------- PR: https://git.openjdk.java.net/jdk/pull/5794