Skip to content

Commit

Permalink
Update checkstyle to version 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam- committed Oct 21, 2017
1 parent e0e07a4 commit 38a9ccc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
</module>
<module name="WhitespaceAround"/>
<module name="UnusedImports"/>
<module name="SuppressionCommentFilter"/>
</module>
<module name="RegexpMultiline">
<property name="format" value="else[ \t]*[\r\n]+[ \t]*if"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ public List<XteaKey> get() throws IOException
try (ResponseBody body = response.body())
{
InputStream in = body.byteStream();
// CHECKSTYLE:OFF
return RuneliteAPI.GSON.fromJson(new InputStreamReader(in), new TypeToken<List<XteaKey>>() { }.getType());
// CHECKSTYLE:ON
}
catch (JsonParseException ex)
{
Expand Down
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,13 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.17</version>
<dependencies>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>8.3</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>verify-style</id>
Expand Down

0 comments on commit 38a9ccc

Please sign in to comment.