suppress warning for multiple checked exception declaration
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
This commit is contained in:
@@ -8,6 +8,8 @@
|
|||||||
*/
|
*/
|
||||||
package org.eclipse.hawkbit.im.authentication;
|
package org.eclipse.hawkbit.im.authentication;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
|
||||||
import javax.servlet.Filter;
|
import javax.servlet.Filter;
|
||||||
import javax.servlet.FilterChain;
|
import javax.servlet.FilterChain;
|
||||||
import javax.servlet.FilterConfig;
|
import javax.servlet.FilterConfig;
|
||||||
@@ -44,11 +46,16 @@ public interface UserAuthenticationFilter {
|
|||||||
* the servlet response
|
* the servlet response
|
||||||
* @param chain
|
* @param chain
|
||||||
* the filterchain
|
* the filterchain
|
||||||
|
* @throws IOException
|
||||||
|
* cannot read from request
|
||||||
* @throws ServletException
|
* @throws ServletException
|
||||||
* servlet exception
|
* servlet exception
|
||||||
*/
|
*/
|
||||||
|
// this declaration of multiple checked exception is necessary so it's
|
||||||
void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws ServletException;
|
// aligned with the servlet API.
|
||||||
|
@SuppressWarnings("squid:S1160")
|
||||||
|
void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
|
||||||
|
throws IOException, ServletException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see Filter#destroy()
|
* @see Filter#destroy()
|
||||||
|
|||||||
Reference in New Issue
Block a user