Problemunvalidated
The Sonar message is: A "NullPointerException" could be thrown; "ofNullable()" can return null. (rule java:S2259) — return Optional.ofNullable(string).map(String::toLowerCase).orElse(null);. Tension: May be I'm wrong, but Optional.ofNullable can't return null. Outcome: It's a bug of SonarQube.
c8e0439e-748e-47e7-98ce-c55a2ac4a060
The Sonar message is: A "NullPointerException" could be thrown; "ofNullable()" can return null. (rule java:S2259) — return Optional.ofNullable(string).map(String::toLowerCase).orElse(null);. Tension: May be I'm wrong, but Optional.ofNullable can't return null. Outcome: It's a bug of SonarQube.