Additional dead code via dead code detector

https://blogs.oracle.com/geertjan/entry/dead_code_detection_with_netbeans