lint and pmd warnings