Done
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Leonardo PilastriLeonardo PilastriReporter
Valentin AebiValentin Aebi(Deactivated)Start date
Sep 12, 2024Components
Fix versions
Due date
Sep 23, 2024Priority
Normal
Details
Details
Assignee
Leonardo Pilastri
Leonardo PilastriReporter
Valentin Aebi
Valentin Aebi(Deactivated)Start date
Sep 12, 2024
Components
Fix versions
Due date
Sep 23, 2024
Priority

Sentry
Sentry
Sentry
Created April 29, 2024 at 9:53 AM
Updated October 16, 2024 at 2:11 PM
Resolved September 23, 2024 at 8:49 AM
Suggested quickfixes sometimes change the semantics of the code. E.g. in this case:
Sonar-Java suggests to turn the first case into the following:
Now suppose for instance that
x == -1
. Then the original version of the code would not execute the print statement, whereas the version after applying the quickfix would.Note that the same problem has already been solved in S1066.