refs #3994 coding style, removed unused code