RFR: JDK-8321545: Override toString() for Format subclasses [v2]

Justin Lu jlu at openjdk.org
Fri Jan 12 18:27:55 UTC 2024


On Thu, 11 Jan 2024 19:42:42 GMT, Naoto Sato <naoto at openjdk.org> wrote:

> I think test cases for these new overridden `toString()` methods would be helpful.

Added test cases for the new methods. Additionally, in the most recent commit, I swapped the placement of `compact patterns` with `decimal pattern`. As `compact patterns` is generally much longer, I felt it helped readability if `decimal pattern` came first.

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

PR Comment: https://git.openjdk.org/jdk/pull/17355#issuecomment-1889761787


More information about the core-libs-dev mailing list