Correct PMD unused field warning