Fix FindBugs errors.