Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update checkstyle to support java 8 syntax
With default version getting errors like: ``` [ant:checkstyle] /home/travis/build/Netflix/spectator/spectator-api/src/main/java/com/netflix/spectator/api/AbstractRegistry.java:105:11: unexpected token: aggr [ant:checkstyle] /home/travis/build/Netflix/spectator/spectator-api/src/main/java/com/netflix/spectator/api/AbstractRegistry.java:108:5: Got an exception - expecting EOF, found 'if' ``` Updating to latest 6.8.1 fails with: https://discuss.gradle.org/t/checkstyle-6-8-release-brake-compatibility-with-gradle-checkstyle-plugin/10375 So using 6.7. Note that RedundantThrows check was removed: http://stackoverflow.com/questions/27919444/java-checkstyle-redundant-throws
- Loading branch information