forked from phoedos/pmd
checkstyle fixes
This commit is contained in:
pyxide
committed by
Juan Martín Sotuyo Dodero
parent
958f8df5f5
commit
d7c503bee4
@ -206,10 +206,10 @@ public class Formatter {
|
||||
try {
|
||||
Field f = Console.class.getDeclaredField("cs");
|
||||
f.setAccessible(true);
|
||||
Object res = f.get(console);
|
||||
if (res instanceof Charset) {
|
||||
return ((Charset) res).name();
|
||||
}
|
||||
Object res = f.get(console);
|
||||
if (res instanceof Charset) {
|
||||
return ((Charset) res).name();
|
||||
}
|
||||
} catch (NoSuchFieldException e) {
|
||||
// fall-through
|
||||
} catch (IllegalAccessException e) {
|
||||
|
Reference in New Issue
Block a user