Fix pmd warnings.
Fix javadoc warnings.