Fokko opened a new pull request, #3907:
URL: https://github.com/apache/parquet-java/pull/3907
### Rationale for this change
A few places still used `Charset.forName("UTF-8")` or the deprecated
`Preconditions.checkNotNull`.
### What changes are included in this PR?
- `BytesUtils.UTF8` and `PlainValuesWriter.CHARSET` are now
`StandardCharsets.UTF_8`, and `PlainValuesWriter.CHARSET` gets a `@deprecated`
pointer to it.
- Tests use `StandardCharsets.UTF_8` instead of `"UTF-8"` strings.
- `SnappyUtil` uses `Objects.requireNonNull`.
### Are these changes tested?
Covered by the existing tests.
### Are there any user-facing changes?
No. The constants keep their type and value.
Closes #3901
This pull request and its description were written by Isaac.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]