Fix PMD violation