As the title says, this is a simple refactoring that simplifies the code by using record.
------------- Commit messages: - Simplify the code using record Changes: https://git.openjdk.org/jdk/pull/24795/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24795&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8355301 Stats: 20 lines in 1 file changed: 0 ins; 12 del; 8 mod Patch: https://git.openjdk.org/jdk/pull/24795.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/24795/head:pull/24795 PR: https://git.openjdk.org/jdk/pull/24795