Fixed an PMD violation