RFR: 8315968: Consolidate java.util.Digits and StringLatin1::PACKED_DIGITS [v2]
温绍锦
duke at openjdk.org
Sun Sep 10 18:46:25 UTC 2023
On Sun, 10 Sep 2023 18:37:20 GMT, 温绍锦 <duke at openjdk.org> wrote:
>> src/java.base/share/classes/java/util/Digits.java line 36:
>>
>>> 34: * @since 21
>>> 35: */
>>> 36: sealed interface Digits permits HexDigits, OctalDigits {
>>
>> Don't break up the trio, move all three classes and the interface to jdk.internal.util.
>> I don't see the value in the INSTANCE values but keep it intact.
>
> HexDigits I will change after the PR #14745 is merged, Can you add comment /sponsor for me?
I want to remove the Digits interface and use static methods
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15651#discussion_r1320843342
More information about the core-libs-dev
mailing list