servlet fields should be final

This commit is contained in:
Sebastian Sdorra
2015-01-23 21:44:04 +01:00
parent 6145d3cb57
commit d707f0ee47
7 changed files with 38 additions and 27 deletions

View File

@@ -167,5 +167,5 @@ public abstract class AbstractResourceServlet extends HttpServlet
//~--- fields ---------------------------------------------------------------
/** Field description */
private ResourceManager resourceManager;
private final ResourceManager resourceManager;
}

View File

@@ -185,8 +185,8 @@ public class ErrorServlet extends HttpServlet
//~--- fields ---------------------------------------------------------------
/** Field description */
private SCMContextProvider context;
private final SCMContextProvider context;
/** Field description */
private TemplateEngineFactory templateEngineFactory;
private final TemplateEngineFactory templateEngineFactory;
}