Apply PMD change.
Add java doc.