CaseServlet.java code cleanup