solve PMD Warning