On Sun, 26 Feb 2023 17:29:09 GMT, Tagir F. Valeev <tval...@openjdk.org> wrote:

>> Jim Laskey has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   PR Cleanup
>
> src/java.base/share/classes/java/lang/AbstractStringBuilder.java line 1893:
> 
>> 1891:         }
>> 1892:         int length = cs.length();
>> 1893:         if (length == 1) {
> 
> It looks like, handling length == 0 case would be reasonable.

Agree.

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

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

Reply via email to