-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#4209] Improvement(server-common): Update charset handling to use StandardCharsets.UTF_8 #4219
Conversation
@devesh-2002 |
@yuqi1129, Thank you for the suggestion. I have run the formatting command. Still, please let me know, if any changes are needed. |
// } | ||
// PrincipalName ::= SEQUENCE { | ||
// name-string[1] SEQUENCE OF String | ||
// name-string[1] SEQUENCE OF String |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the changes here and above are not necessary, it would be better not to change them.
@devesh-2002 there's some build issues, can you please fix it. |
What changes were proposed in this pull request?
Replaced Hardcoded "UTF-8" with
StandardCharsets.UTF-8
in KerberosServerUtils.javaWhy are the changes needed?
The changes were needed to ensure adherence to best code practices, specifically by replacing hardcoded charset strings with the use of
StandardCharsets.UTF_8
, promoting clarity, consistency, and robustness in charset handling.Fix: #4209,
Does this PR introduce any user-facing change?
No
Please let me know, if any further changes are needed.