SONARJAVA-507 Correct S1188 false positive