From f9413d5ae4bd4dea79f93eb6aab523f4ed71af63 Mon Sep 17 00:00:00 2001 From: grabdoc Date: Sat, 24 Feb 2024 12:50:12 -0600 Subject: [PATCH] #316 - fix unkey imports --- .../java/com/homihq/db2rest/auth/unkey/UnKeyAuthFilter.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/homihq/db2rest/auth/unkey/UnKeyAuthFilter.java b/src/main/java/com/homihq/db2rest/auth/unkey/UnKeyAuthFilter.java index 094a18df..eb6c2012 100644 --- a/src/main/java/com/homihq/db2rest/auth/unkey/UnKeyAuthFilter.java +++ b/src/main/java/com/homihq/db2rest/auth/unkey/UnKeyAuthFilter.java @@ -10,7 +10,6 @@ import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; -import org.jetbrains.annotations.NotNull; import org.springframework.http.MediaType; import org.springframework.web.filter.OncePerRequestFilter; import java.io.IOException; @@ -28,8 +27,8 @@ public class UnKeyAuthFilter extends OncePerRequestFilter { String API_KEY_HEADER = "X-API-KEY"; @Override - protected void doFilterInternal(final HttpServletRequest request, final @NotNull HttpServletResponse response, - final @NotNull FilterChain filterChain) throws ServletException, IOException { + protected void doFilterInternal(final HttpServletRequest request, final HttpServletResponse response, + final FilterChain filterChain) throws ServletException, IOException { logger.info(" *** Apply UnKeyAuth Filter ***"); // Check the header and return authentication failed if header not present