The GitHub Actions job "Java CI" on 
commons-io.git/io-file-writer-with-encoding-charset has failed.
Run started by GitHub user lenamonj (triggered by lenamonj).

Head commit for run:
d28474039aaee53b4302b99ad25adcde0ba5f7ba / lenamonj <[email protected]>
Fix FileWriterWithEncoding.Builder ignoring any Charset but the default

The builder seeded its CharsetEncoder from the default Charset and threw
IllegalStateException when the Charset and the encoder disagreed, so both
setCharset and setCharsetEncoder failed for anything but the platform
default. Keep the pair consistent the way ReaderInputStream.Builder does:
setCharset refreshes the encoder and setCharsetEncoder sets the Charset.
The mismatch guard has nothing left to catch and is removed. The class
Javadoc's Charset example passed a Charset to setCharsetEncoder, which does
not compile; it now calls setCharset.

Report URL: https://github.com/apache/commons-io/actions/runs/34167799360

With regards,
GitHub Actions via GitBox

Reply via email to