checkstyle fixes

This commit is contained in:
pyxide
2017-01-07 04:15:27 +01:00
committed by Juan Martín Sotuyo Dodero
parent abf65acb63
commit 89600bfcc4

View File

@ -72,7 +72,7 @@ public class Formatter {
if (null == s) {
if (toConsole) {
if(null == System.console()) {
if (null == System.console()) {
// pipe or redirect, no interactive console.
s = System.getProperty("file.encoding");
} else {
@ -91,8 +91,7 @@ public class Formatter {
parameter.setName("encoding");
parameter.setValue(charset.name());
parameters.add(parameter);
}
else {
} else {
charset = Charset.forName(s);
}
}