Avoid multiple unary operators

Impact area

Manageability

Severity

high

Affected element

Salesforce

Apex Class

Rule ID

SF-AVOID-LOSING-EXCEPTION-INFO

Impact

The use of multiple unary operators may be problematic, and/or confusing.

Remediation

Ensure that the intended usage is not a bug, or consider simplifying the expression.


Time to fix

15 min

What's here


Related content

Apex Page rules

Salesforce rules




Last modified on Jan 18, 2024