RFR: 8297489: Modify TextAreaTextEventTest.java as to verify the content change of TextComponent sends TextEvent [v6]

Alexey Ivanov aivanov at openjdk.org
Thu Dec 1 17:19:07 UTC 2022


On Thu, 1 Dec 2022 15:11:25 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> ravi gupta has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Review Comments Fixes
>
> test/jdk/java/awt/event/ComponentEvent/TextComponentTextEventTest.java line 113:
> 
>> 111:                 if (textComp instanceof TextField && textChanged) {
>> 112:                     throw new RuntimeException(
>> 113:                         "FAIL: TextEvent triggered when Enter pressed on "+ textComp);
> 
> Suggestion:
> 
>                         "FAIL: TextEvent triggered when Enter pressed on " + textComp);

It's not resolved: there's still no space before `+` operator.

And you removed it from other places for some reason where they were present.

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

PR: https://git.openjdk.org/jdk/pull/11326



More information about the client-libs-dev mailing list