Example

public class ClassA {
private Object o;
public void methodA {

o=null;
//o is not changed afterwards...
}


}
Solution Reconsider the use of the private field 'o'