Commit 3a37678c authored by Fredrik Roubert's avatar Fredrik Roubert
Browse files

CharsetEncoder.flush() should only call implFlush() once.

Repeated calls to flush() should not result in repeated calls to
implFlush(), leaving CharsetEncoder implementations free to do such
things as unconditionally prepend headers in their implFlush(). ICU4J
does that.

bug: 19251672
Change-Id: Id6399c16a60b0ec7f73248e431741fe5432c9c3a
parent e78093e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment