Resolved PMD warning