From 450c33db64df993842846888eee9b3e6de968169 Mon Sep 17 00:00:00 2001 From: md_5 Date: Wed, 21 Aug 2019 20:04:16 +1000 Subject: [PATCH] Formatting fixes --- checkstyle.xml | 8 ++++---- .../src/main/java/net/md_5/bungee/ConnectionThrottle.java | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/checkstyle.xml b/checkstyle.xml index 4f664bd0b..58ed8a1de 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 0e40fcad2..b6c66dceb 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 )