Re: RFR: 8314169: Combine related RoundingMode logic in j.text.DigitList [v3]

2023-08-15 Thread Naoto Sato
On Tue, 15 Aug 2023 16:38:42 GMT, Justin Lu wrote: >> Please review this PR which is a broad clean up of the DigitList class (used >> by Format classes in j.text). >> >> This PR is intended to be a portion of a bigger change (split up to make >> reviewing easier). >> >> The main change simpl

Re: RFR: 8314169: Combine related RoundingMode logic in j.text.DigitList [v3]

2023-08-15 Thread Justin Lu
> Please review this PR which is a broad clean up of the DigitList class (used > by Format classes in j.text). > > This PR is intended to be a portion of a bigger change (split up to make > reviewing easier). > > The main change simplifying related Rounding Mode logic in `shouldRoundUp()` > -

Re: RFR: 8314169: Combine related RoundingMode logic in j.text.DigitList [v2]

2023-08-15 Thread Naoto Sato
On Mon, 14 Aug 2023 17:43:09 GMT, Justin Lu wrote: >> src/java.base/share/classes/java/text/DigitList.java line 521: >> >>> 519: if (non0AfterIndex(maximumDigits)) { >>> 520: return (isNegative && roundingMode == >>> RoundingMode.FLOOR) >>> 521:

Re: RFR: 8314169: Combine related RoundingMode logic in j.text.DigitList [v2]

2023-08-14 Thread Justin Lu
On Fri, 11 Aug 2023 22:33:08 GMT, Naoto Sato wrote: >> Justin Lu has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Reflect review comments (8/11/23) > > src/java.base/share/classes/java/text/DigitList.java line 521: > >> 519:

Re: RFR: 8314169: Combine related RoundingMode logic in j.text.DigitList [v2]

2023-08-14 Thread Justin Lu
> Please review this PR which is a broad clean up of the DigitList class (used > by Format classes in j.text). > > This PR is intended to be a portion of a bigger change (split up to make > reviewing easier). > > The main change combines related Rounding Mode logic in `shouldRoundUp()` - > (_

Re: RFR: 8314169: Combine related RoundingMode logic in j.text.DigitList

2023-08-11 Thread Naoto Sato
On Fri, 11 Aug 2023 18:27:47 GMT, Justin Lu wrote: > Please review this PR which is a broad clean up of the DigitList class (used > by Format classes in j.text). > > This PR is intended to be a portion of a bigger change (split up to make > reviewing easier). > > The main change combines rel

RFR: 8314169: Combine related RoundingMode logic in j.text.DigitList

2023-08-11 Thread Justin Lu
Please review this PR which is a broad clean up of the DigitList class (used by Format classes in j.text). This PR is intended to be a portion of a bigger change (split up to make reviewing easier). The main change combines related Rounding Mode logic in `shouldRoundUp()` - (_CEILING/FLOOR_,