On Tue, 29 Nov 2022 16:46:43 GMT, Per Minborg <[email protected]> wrote:
> This PR proposes a variety of modernisations to the `jdk.sctp` module. > > During the fix of https://bugs.openjdk.org/browse/JDK-8296024, several > improvement areas were identified including: > > * Replacing duplicate code segments > * Making certain fields final > * Using enhanced switch > * Using records > * Fixing typos > * Marking fields participating in serialisation with `@Serial` > * Modernizing toString() implementations > * Using pattern matching > * Using diamond operators This pull request has now been integrated. Changeset: cb766c55 Author: Per Minborg <[email protected]> Committer: Daniel Fuchs <[email protected]> URL: https://git.openjdk.org/jdk/commit/cb766c553557b718683d492280beba772d81bb5b Stats: 388 lines in 19 files changed: 49 ins; 128 del; 211 mod 8297778: Modernize and improve module jdk.sctp Reviewed-by: dfuchs, stsypanov ------------- PR: https://git.openjdk.org/jdk/pull/11418
