Skip to content

Commit

Permalink
Merge pull request #127 from TouK/checkstyle_6.14.1
Browse files Browse the repository at this point in the history
Checkstyle bumped to version 6.14.1
  • Loading branch information
SpOOnman committed Jan 27, 2016
2 parents 7a8194a + ac71954 commit fd7bd86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ dependencies {
compile 'com.urswolfer.gerrit.client.rest:gerrit-rest-java-client:0.8.5'

// Checkstyle dependencies
compile 'com.puppycrawl.tools:checkstyle:6.6'
compile 'com.puppycrawl.tools:checkstyle:6.14.1'

// PMD dependencies
compile('net.sourceforge.pmd:pmd-dist:5.2.1') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ public String getName() {
private void innerProcess(@NotNull Review review, @NotNull AuditListener auditListener) {
List<File> files = review.getFiles(new JavaFilter(), new IOFileTransformer());
Checker checker = createChecker(auditListener);
checker.process(files);
try {
checker.process(files);
} catch (CheckstyleException e) {
throw new ReviewException("Unable to process files with Checkstyle", e);
}
checker.destroy();
}

Expand Down

0 comments on commit fd7bd86

Please sign in to comment.