False positive issue for Java rule (squid:S4248)

sonarqube
sonarlint
eclipse
(Tomáš Lestyan) #1

There are a false positive issue reported for java rule squid:S4248 in case of used constant. See the example below.

  • text.split(" "); //nothing reported

  • text.split(CONSTANT); //issue reported