RFR: 8303026: [TextField] IOOBE on setting text with control characters that replaces existing text [v2]
Jose Pereda
jpereda at openjdk.org
Wed Feb 22 11:08:19 UTC 2023
On Tue, 21 Feb 2023 23:29:37 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
>> Jose Pereda has updated the pull request incrementally with one additional commit since the last revision:
>>
>> add curly braces
>
> modules/javafx.controls/src/main/java/javafx/scene/control/TextInputControl.java line 185:
>
>> 183: int end = sel.getEnd();
>> 184: int length = txt.length();
>> 185: if (end > start + length) end = length;
>
> would it be possible to surround both conditional statements with { }'s?
done
-------------
PR: https://git.openjdk.org/jfx/pull/1043
More information about the openjfx-dev
mailing list