fix pmd reported violations

This commit is contained in:
Sebastian Sdorra
2010-10-16 13:20:20 +02:00
parent f2499e857d
commit 8f57cd0e31
5 changed files with 33 additions and 14 deletions

View File

@@ -102,7 +102,7 @@ public abstract class AbstractResourceServlet extends HttpServlet
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
{
processRequest(request, response);
processRequest(response);
}
/**
@@ -120,7 +120,7 @@ public abstract class AbstractResourceServlet extends HttpServlet
HttpServletResponse response)
throws ServletException, IOException
{
processRequest(request, response);
processRequest(response);
}
//~--- get methods ----------------------------------------------------------
@@ -142,14 +142,12 @@ public abstract class AbstractResourceServlet extends HttpServlet
* Method description
*
*
* @param request
* @param response
*
* @throws IOException
* @throws ServletException
*/
private void processRequest(HttpServletRequest request,
HttpServletResponse response)
private void processRequest(HttpServletResponse response)
throws ServletException, IOException
{
response.setCharacterEncoding(getCharacterEncoding());