Update checkstyle version.
- Removing explicitly specifying checkstyle version.
Checkstyle bundled with the maven plugin now supports Java 8.
Also version previously specified could not parse "Hash<T>::new"
- RedundantThrows was removed from recent checkstyle:
See: https://github.com/checkstyle/checkstyle/issues/473
Change-Id: Ic6301b1900edd9e1ad704e206185c2677814fcd7
diff --git a/pom.xml b/pom.xml
index 1db1107..0cde33f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -691,12 +691,6 @@
<artifactId>onos-build-conf</artifactId>
<version>${onos-build-conf.version}</version>
</dependency>
- <!-- For Java 8 lambda support-->
- <dependency>
- <groupId>com.puppycrawl.tools</groupId>
- <artifactId>checkstyle</artifactId>
- <version>5.9</version>
- </dependency>
</dependencies>
<configuration>
<!-- begin: workaround for unexpected NullPointerException on Eclipse -->
diff --git a/tools/build/conf/src/main/resources/onos/checkstyle.xml b/tools/build/conf/src/main/resources/onos/checkstyle.xml
index fc6757a..9260bae 100644
--- a/tools/build/conf/src/main/resources/onos/checkstyle.xml
+++ b/tools/build/conf/src/main/resources/onos/checkstyle.xml
@@ -257,10 +257,6 @@
<!-- <module name="MagicNumber"/> -->
<module name="MissingSwitchDefault"/>
- <module name="RedundantThrows">
- <property name="allowSubclasses" value="true"/>
- </module>
-
<module name="SimplifyBooleanExpression"/>
<module name="SimplifyBooleanReturn"/>