Code style (Sonarlint): use StandardCharsets instead of names as Strings #10076
Labels
Component: Code Infrastructure
formerly "Feature: Code Infrastructure"
Size: 3
A percentage of a sprint. 2.1 hours.
Type: Suggestion
an idea
User Role: Hackathon Participant
Core developers, frequent contributors, drive-by contributors, etc.
Milestone
Overview of the Feature Request
Prefer constants from
StandardCharsets
over String values to make code more robust and remove unnecessary try-catch constructs. See Sonar rule java:S4719 for an explanation.What kind of user is the feature intended for?
Developers
What inspired the request?
Sonarcloud
What existing behavior do you want changed?
None
Any brand new behavior do you want to add to Dataverse?
None
Any open or closed issues related to this feature request?
Not that I know of.
The text was updated successfully, but these errors were encountered: