Update checkstyle to version 8.3
This commit is contained in:
@@ -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"/>
|
||||
|
||||
@@ -88,7 +88,9 @@ public class XteaClient
|
||||
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)
|
||||
{
|
||||
|
||||
7
pom.xml
7
pom.xml
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user