Skip to content

Commit

Permalink
- Fixed PMD violation
Browse files Browse the repository at this point in the history
  • Loading branch information
cdanger committed Mar 9, 2021
1 parent d2271c4 commit a2772ee
Showing 1 changed file with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,13 @@
*/
package org.ow2.authzforce.webapp;

import java.io.IOException;

import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletResponse;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.servlet.*;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
* Servlet filter that catches any exception to hide it from client, and maps it to HTTP status Bad Request if {@code NoSuchMethodError}, else to Internal Server Error; and logs the error using SLF4J.
*
Expand Down

0 comments on commit a2772ee

Please sign in to comment.