code cleaning (PMD warning)