Fixed a PMD violation.