| Author | DaveJarvis <email> |
|---|---|
| Date | 2023-02-20 18:12:09 GMT-0800 |
| Commit | d4b9f58a64d178864c5ac3aa09d13b090b9b6164 |
| Parent | f9a84b7 |
| Delta | 2 lines added, 1 line removed, 1-line increase |
| import java.util.function.Consumer; | ||
| +import static java.nio.charset.StandardCharsets.UTF_8; | ||
| import static java.util.concurrent.Executors.newFixedThreadPool; | ||
| @Override | ||
| public Boolean call() throws IOException { | ||
| - try( final var input = new InputStreamReader( mInput ); | ||
| + try( final var input = new InputStreamReader( mInput, UTF_8 ); | ||
| final var buffer = new BufferedReader( input ) ) { | ||
| buffer.lines().forEach( mConsumer ); | ||