
Co-authored-by: Amélie Renard <44666826+amelie-renard-sonarsource@users.noreply.github.com>
9 lines
183 B
Plaintext
9 lines
183 B
Plaintext
[source,apex]
|
|
----
|
|
Integer target = -5;
|
|
Integer num = 3;
|
|
|
|
target =- num; // Noncompliant: target = -3. Is that the expected behavior?
|
|
target =+ num; // Noncompliant: target = 3
|
|
----
|