From d47d4d814779022a81fcfc7b9c9583cb6c2d971d Mon Sep 17 00:00:00 2001 From: Kevin Risden <risdenk@avalonconsult.com> Date: Fri, 30 Sep 2016 09:27:08 -0500 Subject: [PATCH] [jdbc] Fix JDBC checkstyle errors. RedundantThrows is unreliable and latest checkstyle removes it. https://github.com/checkstyle/checkstyle/issues/5#issuecomment-52593242 --- checkstyle.xml | 1 - pom.xml | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/checkstyle.xml b/checkstyle.xml index 2197b022..92d1ce37 100644 --- a/checkstyle.xml +++ b/checkstyle.xml @@ -161,7 +161,6 @@ LICENSE file. <module name="IllegalInstantiation"/> <module name="InnerAssignment"/> <module name="MissingSwitchDefault"/> - <module name="RedundantThrows"/> <module name="SimplifyBooleanExpression"/> <module name="SimplifyBooleanReturn"/> diff --git a/pom.xml b/pom.xml index dc8c245c..63faf554 100644 --- a/pom.xml +++ b/pom.xml @@ -38,9 +38,9 @@ LICENSE file. <dependencyManagement> <dependencies> <dependency> - <groupId>checkstyle</groupId> + <groupId>com.puppycrawl.tools</groupId> <artifactId>checkstyle</artifactId> - <version>5.0</version> + <version>7.7.1</version> </dependency> <dependency> <groupId>org.jdom</groupId> @@ -145,7 +145,7 @@ LICENSE file. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> - <version>2.15</version> + <version>2.16</version> </plugin> </plugins> </pluginManagement> -- GitLab