NetBeans says that assigned value is never used. I'm not sure that its static analysis is right, but...