30 Nov
2021
30 Nov
'21
9:06 p.m.
On Mon, 29 Nov 2021 08:18:47 GMT, Сергей Цыпанов <duke@openjdk.java.net> wrote:
Instead of something like
long x; long y; return (x < y) ? -1 : ((x == y) ? 0 : 1);
we can use `return Long.compare(x, y);`
All replacements are done with IDE.
Сергей Цыпанов has updated the pull request incrementally with one additional commit since the last revision:
8277868: Use Integer.signum() in BasicTableUI
The core-libs file changes look fine. A 'client' reviewer should take a look too. ------------- Marked as reviewed by rriggs (Reviewer). PR: https://git.openjdk.java.net/jdk/pull/6575