Committed by
Yuta HIGUCHI
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
Showing
2 changed files
with
0 additions
and
10 deletions
| ... | @@ -691,12 +691,6 @@ | ... | @@ -691,12 +691,6 @@ |
| 691 | <artifactId>onos-build-conf</artifactId> | 691 | <artifactId>onos-build-conf</artifactId> |
| 692 | <version>${onos-build-conf.version}</version> | 692 | <version>${onos-build-conf.version}</version> |
| 693 | </dependency> | 693 | </dependency> |
| 694 | - <!-- For Java 8 lambda support--> | ||
| 695 | - <dependency> | ||
| 696 | - <groupId>com.puppycrawl.tools</groupId> | ||
| 697 | - <artifactId>checkstyle</artifactId> | ||
| 698 | - <version>5.9</version> | ||
| 699 | - </dependency> | ||
| 700 | </dependencies> | 694 | </dependencies> |
| 701 | <configuration> | 695 | <configuration> |
| 702 | <!-- begin: workaround for unexpected NullPointerException on Eclipse --> | 696 | <!-- begin: workaround for unexpected NullPointerException on Eclipse --> | ... | ... |
| ... | @@ -257,10 +257,6 @@ | ... | @@ -257,10 +257,6 @@ |
| 257 | <!-- <module name="MagicNumber"/> --> | 257 | <!-- <module name="MagicNumber"/> --> |
| 258 | <module name="MissingSwitchDefault"/> | 258 | <module name="MissingSwitchDefault"/> |
| 259 | 259 | ||
| 260 | - <module name="RedundantThrows"> | ||
| 261 | - <property name="allowSubclasses" value="true"/> | ||
| 262 | - </module> | ||
| 263 | - | ||
| 264 | <module name="SimplifyBooleanExpression"/> | 260 | <module name="SimplifyBooleanExpression"/> |
| 265 | <module name="SimplifyBooleanReturn"/> | 261 | <module name="SimplifyBooleanReturn"/> |
| 266 | 262 | ... | ... |
-
Please register or login to post a comment