From 605c23d7a8606c265aff2b1a2d87be8d23ca50f5 Mon Sep 17 00:00:00 2001 From: Craig Baker Date: Sun, 26 Nov 2017 16:41:28 +1100 Subject: [PATCH] fixed checkstyle issue --- .../dropwizard/filter/RateLimit429EnforcerFilter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ratelimitj-dropwizard/src/main/java/es/moki/ratelimij/dropwizard/filter/RateLimit429EnforcerFilter.java b/ratelimitj-dropwizard/src/main/java/es/moki/ratelimij/dropwizard/filter/RateLimit429EnforcerFilter.java index e02d6f6..509c374 100644 --- a/ratelimitj-dropwizard/src/main/java/es/moki/ratelimij/dropwizard/filter/RateLimit429EnforcerFilter.java +++ b/ratelimitj-dropwizard/src/main/java/es/moki/ratelimij/dropwizard/filter/RateLimit429EnforcerFilter.java @@ -70,8 +70,7 @@ public void filter(final ContainerRequestContext requestContext) throws IOExcept } else { LOG.warn("No key was provided by the key provide '{}'", keyProvider.getClass()); } - } - catch (Exception e) { + } catch (Exception e) { LOG.error("Error occurred checking rate-limit. Assuming under limit", e); } }