RFR - JDK-8210717 String::detab, String::entab (Code Review)
Jim Laskey
james.laskey at oracle.com
Thu Sep 20 12:53:26 UTC 2018
Caught that. Thx.
> On Sep 19, 2018, at 5:12 PM, Jonathan Gibbons <jonathan.gibbons at oracle.com> wrote:
>
> It should really be "if n is less than or equal to zero" (equal, not equals)
>
> -- Jon
>
>
> On 09/19/2018 05:35 AM, Jim Laskey wrote:
>> Thank you. Updated.
>>
>>> On Sep 19, 2018, at 4:20 AM, Andrej Golovnin <andrej.golovnin at gmail.com> wrote:
>>>
>>> Hi Jim,
>>>
>>> I'm not native english speaker. But that does not seem to be right for me:
>>>
>>> 2983 * @throws IllegalArgumentException if n is less that equals to zero.
>>>
>>> 3029 * @throws IllegalArgumentException if n is less that equals to zero.
>>>
>>> I would write it as: if n is less than or equals to zero.
>>>
>>> Best regards,
>>> Andrej Golovnin
>>> On Tue, Sep 18, 2018 at 7:53 PM Jim Laskey <james.laskey at oracle.com> wrote:
>>>> Please review the code for String::detab and String::entab. Used to expand tabs into spaces, and spaces back to tabs.
>>>>
>>>> webrev: http://cr.openjdk.java.net/~jlaskey/8210717/webrev/index.html
>>>> jbs: https://bugs.openjdk.java.net/browse/JDK-8210717
>>>> csr: https://bugs.openjdk.java.net/browse/JDK-8210718
>>>>
>>>> Cheers,
>>>>
>>>> — Jim
>>>>
>
More information about the core-libs-dev
mailing list