Please provide
- Operating system: Windows 10
- SonarLint plugin version: 7.6.0.58887
- Programming language you’re coding in: Java
- Is connected mode used: No
The following snippet is reported a false positive for S2259:
Flow 1 which states "Implies ‘event’ is null is incorrect. If event is null then data will be null and the test for data != null would fail thus short-circuiting any call to goodEvent.