Fix PMD AvoidDuplicateLiterals issues