Skip to content

Cleanup missing use of StandardCharsets #125424

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

Merged

Conversation

original-brownbear
Copy link
Member

Random annoyance that I figured, I'd just fix globally: We can do a bit of a cleaner job when doing byte <-> string conversion here and there.

Random annoyance that I figured, I'd just fix globally:
We can do a bit of a cleaner job when doing byte <-> string conversion here and there.
@original-brownbear original-brownbear requested review from a team as code owners March 21, 2025 16:46
@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label Mar 21, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Can we add these methods/ctors that take a charset name and add them to forbidden apis?

@original-brownbear original-brownbear added the auto-backport Automatically create backport pull requests when merged label Mar 21, 2025
@original-brownbear
Copy link
Member Author

Thanks Ryan! Sure thing on the forbidden APIs! I'll open a follow-up for that, just tried it and there's some nuance there. PR incoming :)

@original-brownbear original-brownbear merged commit 50437e7 into elastic:main Mar 21, 2025
17 checks passed
@original-brownbear original-brownbear deleted the cleanup-string-charsets branch March 21, 2025 19:10
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Mar 21, 2025
Random annoyance that I figured, I'd just fix globally:
We can do a bit of a cleaner job when doing byte <-> string conversion here and there.
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.x

omricohenn pushed a commit to omricohenn/elasticsearch that referenced this pull request Mar 28, 2025
Random annoyance that I figured, I'd just fix globally:
We can do a bit of a cleaner job when doing byte <-> string conversion here and there.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged :Core/Infra/Core Core issues without another label >non-issue Team:Core/Infra Meta label for core/infra team v8.19.0 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants