Skip to content

Clean up usages of some old Java APIs - #322

Merged
robinst merged 3 commits into
mainfrom
java-11-updates
Apr 26, 2024
Merged

robinst merged 3 commits into
mainfrom
java-11-updates

Conversation

@robinst

@robinst robinst commented Apr 26, 2024

Copy link
Copy Markdown
Collaborator
  • Use List.of, Set.of, Map.of instead of the various Collections methods
  • Use StandardCharsets instead of Charset.forName
  • Use Objects.requireNonNull instead of throwing manually

There's probably more but yeah.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant