PMD code cleanup

PMD found some unused parameters to methods that simply cause confusion and bloat the code. While I fixed one in Default*Test.java I went ahead and suppressed all of the casting warnings which made eclipse light up like a Christmas tree. Also found a FIXME comment that was trivial to fix.