RFR: 8264162: PickResult.toString() is missing the closing square bracket
Nir Lisker
nlisker at openjdk.java.net
Thu Mar 25 16:33:25 UTC 2021
On Thu, 25 Mar 2021 13:21:24 GMT, Johan Vos <jvos at openjdk.org> wrote:
>> Simple fix to add a missing closing bracket to `PickResult::toString`. This includes a unit test that fails without the fix and passes with the fix.
>
> Good catch. Test fails before and succeeds after the patch.
By the way, this class could easily be converted to a `record`, and that would take care of the `toString` and other ceremonies. I'm not sure it's a backwards compatible change, though.
-------------
PR: https://git.openjdk.java.net/jfx/pull/443
More information about the openjfx-dev
mailing list