RFR: 8305486: Add split() variants that keep the delimiters to String and j.u.r.Pattern [v5]

Roger Riggs rriggs at openjdk.org
Mon May 8 13:48:15 UTC 2023


On Mon, 8 May 2023 12:30:45 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

>>> Alternatively, one could remove the multiplication sign altogether...
>> 
>> Do you mean rewording it to something like:
>> 
>>> the array's length will be no greater than 2 times <i>limit</i> - 1
>
> I mean the usual juxtaposition in maths to signify multiplication, like in _a_ _b_ instead of _a_·_b_
> 
>> the array's length will be no greater than 2 _limit_ - 1

I would replace center-dot with either with "times" or "*" as being easier to read and more familiar in the javadoc.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13305#discussion_r1187467577


More information about the core-libs-dev mailing list