Suppressing warnings about deprecated methods
This commit is contained in:
parent
4dac98f9c0
commit
d000ca1c82
2 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,7 @@ import javax.servlet.http.HttpSession;
|
|||
/**
|
||||
* A simple stub for HttpServletRequest
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
public class HttpServletRequestStub implements HttpServletRequest {
|
||||
// ----------------------------------------------------------------------
|
||||
// Stub infrastructure
|
||||
|
|
|
@ -14,6 +14,7 @@ import javax.servlet.http.HttpServletResponse;
|
|||
/**
|
||||
* A simple stub for HttpServletResponse
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
public class HttpServletResponseStub implements HttpServletResponse {
|
||||
// ----------------------------------------------------------------------
|
||||
// Stub infrastructure
|
||||
|
|
Loading…
Add table
Reference in a new issue