Use var instead of explicit types

This commit is contained in:
AsamK 2021-02-21 15:01:41 +01:00
parent 03c30519b1
commit de273586b4
77 changed files with 850 additions and 1017 deletions

View file

@ -20,7 +20,7 @@ public final class PlainTextWriterImpl implements PlainTextWriter {
@Override
public void println(String format, Object... args) throws IOException {
final String message = MessageFormatter.arrayFormat(format, args).getMessage();
final var message = MessageFormatter.arrayFormat(format, args).getMessage();
writer.write(message);
writer.write(System.lineSeparator());