Fix find bugs warnings.
Fix Checkstyle warnings.