From 3a6e6f32d8ab84d50c90966d49b1a82079005045 Mon Sep 17 00:00:00 2001 From: Gravit Date: Sat, 16 Mar 2019 01:47:47 +0700 Subject: [PATCH] =?UTF-8?q?[FIX]=20=D0=A4=D0=B8=D0=BA=D1=81=20NPE=20=D0=B2?= =?UTF-8?q?=20AuthLimiter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gravit/launchserver/components/AuthLimiterComponent.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/components/AuthLimiterComponent.java b/LaunchServer/src/main/java/ru/gravit/launchserver/components/AuthLimiterComponent.java index 7c5a9bb9..907817e3 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/components/AuthLimiterComponent.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/components/AuthLimiterComponent.java @@ -82,8 +82,8 @@ public String toString() { public int rateLimitMilis; public String message; - public transient HashMap map; - public List excludeIps; + public transient HashMap map = new HashMap<>(); + public List excludeIps = new ArrayList<>(); @Override public void garbageCollection() {