RFR: 8250802: Refactor StringConverter and its subclasses [v4]

Andy Goryachev angorya at openjdk.org
Wed Nov 19 16:16:42 UTC 2025


On Wed, 19 Nov 2025 00:30:53 GMT, Nir Lisker <nlisker at openjdk.org> wrote:

>> I second John's suggestion with `this.`.  It matters when refactoring, even with an IDE.
>
>> I second John's suggestion with `this.`. It matters when refactoring, even with an IDE.
> 
> I'm not sure what you want me to change here exactly. Is it about renaming parameters (see [this discussion](https://github.com/openjdk/jfx/pull/1880#discussion_r2297668458)), or not using `this`, which you didn't seem to mind [here](https://github.com/openjdk/jfx/pull/1880#discussion_r2297721228)?

I meant to suggest using `this` when parameter name is the same as the field name.  Even though the compiler and IDE know which is which, the IDE might stumble during refactoring.

L50

chrono = Objects.requireNonNullElse(chrono, DEFAULT_CHRONO);

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/1880#discussion_r2542576776


More information about the openjfx-dev mailing list