for (JSLintIssue issue : errors) {
if (null != currentDocument) {
JSLintIssueAnnotation.createAnnotation(dObj, cLine, issue.getReason(), issue.getLine(), issue.getCharacter(), issue.getLength());
}
// Create new Task
Task task = Task.create(file, GROUP_NAME, issue.getReason(), issue.getLine());
tasks.add(task);
}
} catch (Exception e) {
Logger.getLogger(getClass().getName()).log(Level.WARNING, null, e);
}