RFR: 8301302: Platform preferences API
Michael Strauß
mstrauss at openjdk.org
Sun Jan 29 17:10:27 UTC 2023
On Sun, 29 Jan 2023 14:31:39 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:
> Just commenting on the convenience API part. I think in modern Java you'd use `Optional` to avoid creating multiple methods for each type (`Optional` supports far more options as "fallback") and to avoid having to return `null` as a special value.
That's a good suggestion, I've updated the API accordingly.
-------------
PR: https://git.openjdk.org/jfx/pull/1014
More information about the openjfx-dev
mailing list