Integrated: 8305902: (cs) Resolve default Charset only once in StreamEncoder and StreamDecoder
Sergey Tsypanov
stsypanov at openjdk.org
Fri Apr 14 06:24:42 UTC 2023
On Wed, 12 Apr 2023 11:36:54 GMT, Sergey Tsypanov <stsypanov at openjdk.org> wrote:
> If `charsetName` passed into `forOutputStreamWriter()` method is null then `Charset.forName()` is redundant as we can use already resolved default Charset.
This pull request has now been integrated.
Changeset: 287bb06d
Author: Sergey Tsypanov <stsypanov at openjdk.org>
Committer: Alan Bateman <alanb at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/287bb06defb1a45fae979c8f64a445b747274348
Stats: 14 lines in 2 files changed: 0 ins; 8 del; 6 mod
8305902: (cs) Resolve default Charset only once in StreamEncoder and StreamDecoder
Reviewed-by: alanb, bpb
-------------
PR: https://git.openjdk.org/jdk/pull/13443
More information about the nio-dev
mailing list