On Fri, 1 Nov 2024 13:08:54 GMT, Andrey Turbanov <[email protected]> wrote:
> `Properties` doesn't allow `null` values. > We can replace containsKey+getProperty with getProperty+null check. > It's clearer and a bit faster. This pull request has now been integrated. Changeset: 3b7571d3 Author: Andrey Turbanov <[email protected]> URL: https://git.openjdk.org/jdk/commit/3b7571d37812472a2152f9c8cbfd2a4abdb35016 Stats: 10 lines in 1 file changed: 3 ins; 4 del; 3 mod 8345398: Avoid redundant Properties.containsKey call in Cursor.getSystemCustomCursor Reviewed-by: aivanov, prr ------------- PR: https://git.openjdk.org/jdk/pull/21824
