On Tue, 21 Feb 2023 23:29:37 GMT, Andy Goryachev <ango...@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

Reply via email to