diff --git a/checkstyle.xml b/checkstyle.xml index 4f664bd0..58ed8a1d 100644 --- a/checkstyle.xml +++ b/checkstyle.xml @@ -14,10 +14,10 @@ - - - - + + + + diff --git a/proxy/src/main/java/net/md_5/bungee/ConnectionThrottle.java b/proxy/src/main/java/net/md_5/bungee/ConnectionThrottle.java index 0e40fcad..b6c66dce 100644 --- a/proxy/src/main/java/net/md_5/bungee/ConnectionThrottle.java +++ b/proxy/src/main/java/net/md_5/bungee/ConnectionThrottle.java @@ -16,14 +16,14 @@ public class ConnectionThrottle public ConnectionThrottle(int throttleTime, int throttleLimit) { - this(Ticker.systemTicker(), throttleTime, throttleLimit); + this( Ticker.systemTicker(), throttleTime, throttleLimit ); } @VisibleForTesting ConnectionThrottle(Ticker ticker, int throttleTime, int throttleLimit) { this.throttle = CacheBuilder.newBuilder() - .ticker(ticker) + .ticker( ticker ) .concurrencyLevel( Runtime.getRuntime().availableProcessors() ) .initialCapacity( 100 ) .expireAfterWrite( throttleTime, TimeUnit.MILLISECONDS )