// Eclipse's static analysis thinks I never close the UnicodeBomInputStream below.
private void lintFile(String file) throws IOException {
BufferedReader reader = null;
try {
reader = readerForFile(file);
JSLintResult result = lint.lint(file, reader);
String msg = formatter.format(result);
if (msg.length() > 0) {
info(msg);
}
if (!result.getIssues().isEmpty()) {
setErrored(true);
}
} catch (FileNotFoundException e) {
die(file + ": No such file or directory.");
} finally {