mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-27 12:46:05 +01:00
Update checkstyle
This commit is contained in:
parent
6f7331e852
commit
061a7c67bd
@ -13,10 +13,12 @@ public class BungeeLogger extends Logger
|
|||||||
|
|
||||||
private final LogDispatcher dispatcher = new LogDispatcher( this );
|
private final LogDispatcher dispatcher = new LogDispatcher( this );
|
||||||
|
|
||||||
|
// CHECKSTYLE:OFF
|
||||||
@SuppressWarnings(
|
@SuppressWarnings(
|
||||||
{
|
{
|
||||||
"CallToPrintStackTrace", "CallToThreadStartDuringObjectConstruction"
|
"CallToPrintStackTrace", "CallToThreadStartDuringObjectConstruction"
|
||||||
})
|
})
|
||||||
|
// CHECKSTYLE:ON
|
||||||
@SuppressFBWarnings("SC_START_IN_CTOR")
|
@SuppressFBWarnings("SC_START_IN_CTOR")
|
||||||
public BungeeLogger(String loggerName, String filePattern, ConsoleReader reader)
|
public BungeeLogger(String loggerName, String filePattern, ConsoleReader reader)
|
||||||
{
|
{
|
||||||
|
6
pom.xml
6
pom.xml
@ -132,7 +132,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||||
<version>3.1.1</version>
|
<version>3.1.2</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>process-classes</phase>
|
<phase>process-classes</phase>
|
||||||
@ -150,14 +150,14 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.puppycrawl.tools</groupId>
|
<groupId>com.puppycrawl.tools</groupId>
|
||||||
<artifactId>checkstyle</artifactId>
|
<artifactId>checkstyle</artifactId>
|
||||||
<version>8.36.2</version>
|
<version>8.44</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>animal-sniffer-maven-plugin</artifactId>
|
<artifactId>animal-sniffer-maven-plugin</artifactId>
|
||||||
<version>1.19</version>
|
<version>1.20</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>process-classes</phase>
|
<phase>process-classes</phase>
|
||||||
|
@ -31,10 +31,12 @@ public class ModuleManager
|
|||||||
knownSources.put( "jenkins", new JenkinsModuleSource() );
|
knownSources.put( "jenkins", new JenkinsModuleSource() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CHECKSTYLE:OFF
|
||||||
@SuppressFBWarnings(
|
@SuppressFBWarnings(
|
||||||
{
|
{
|
||||||
"SF_SWITCH_FALLTHROUGH", "SF_SWITCH_NO_DEFAULT"
|
"SF_SWITCH_FALLTHROUGH", "SF_SWITCH_NO_DEFAULT"
|
||||||
})
|
})
|
||||||
|
// CHECKSTYLE:ON
|
||||||
public void load(ProxyServer proxy, File moduleDirectory) throws Exception
|
public void load(ProxyServer proxy, File moduleDirectory) throws Exception
|
||||||
{
|
{
|
||||||
moduleDirectory.mkdir();
|
moduleDirectory.mkdir();
|
||||||
|
Loading…
Reference in New Issue
Block a user