Integrated: 2316: Prefer not to specify UTF-8 if it's used by default

Pavel Rappo prappo at openjdk.org
Fri Jul 5 19:21:55 UTC 2024


On Fri, 5 Jul 2024 09:31:39 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

> Please review this clean-up. It's about not specifying UTF-8 encoding when it's the default, such as in `Files.{readString, writeString}`.
> 
> The change is very uniform, except for two cases, where specifying the encoding was avoided by slightly more involved refactoring:
> 
>   * `JsonWriter:44`
>   * `XML:42`

This pull request has now been integrated.

Changeset: bafcd5e1
Author:    Pavel Rappo <prappo at openjdk.org>
Committer: Zhao Song <zsong at openjdk.org>
URL:       https://git.openjdk.org/skara/commit/bafcd5e134fd0b827f8fa474fc4d17555a75028d
Stats:     194 lines in 31 files changed: 0 ins; 36 del; 158 mod

2316: Prefer not to specify UTF-8 if it's used by default

Reviewed-by: erikj, zsong

-------------

PR: https://git.openjdk.org/skara/pull/1668


More information about the skara-dev mailing list