This posing is a follow up for [S2226] Mutalel instance fields, that are only written to in the init() method, should be ignored
Please delete when merged. I cannot post a reply to that thread.
Here is my reproducer:
public class FooServlet extends HttpServlet
{
private int foo = 0; // FP
public int getFoo()
{
return foo;
}
@Override
public void init()
{
this.foo = Integer.parseInt( getServletConfig().getInitParameter( "foo" ) );
}
}