Fixed a PMD error.