From 78a84953992e3008365e4b47ee41bba0f9201300 Mon Sep 17 00:00:00 2001 From: md_5 Date: Fri, 24 Jan 2020 11:32:35 +1100 Subject: [PATCH] Add more checkstyle rules --- checkstyle.xml | 23 +++++++++++++++++++ .../reconnect/yaml/YamlReconnectHandler.java | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/checkstyle.xml b/checkstyle.xml index afddb470..91c05961 100644 --- a/checkstyle.xml +++ b/checkstyle.xml @@ -45,9 +45,32 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/module/reconnect-yaml/src/main/java/net/md_5/bungee/module/reconnect/yaml/YamlReconnectHandler.java b/module/reconnect-yaml/src/main/java/net/md_5/bungee/module/reconnect/yaml/YamlReconnectHandler.java index f1bfd68a..3a514a76 100644 --- a/module/reconnect-yaml/src/main/java/net/md_5/bungee/module/reconnect/yaml/YamlReconnectHandler.java +++ b/module/reconnect-yaml/src/main/java/net/md_5/bungee/module/reconnect/yaml/YamlReconnectHandler.java @@ -24,7 +24,7 @@ public class YamlReconnectHandler extends AbstractReconnectHandler private final File file = new File( "locations.yml" ); private final ReadWriteLock lock = new ReentrantReadWriteLock(); /*========================================================================*/ - private CaseInsensitiveMap< String> data; + private CaseInsensitiveMap data; @SuppressWarnings("unchecked") public YamlReconnectHandler()