Avoid using "for" statements without using surrounding braces

Impact area

Manageability

Severity

Medium

Affected element

Apex Class

Rule ID

SF-0006

Impact

Not using braces is error prone and complicates debugging.


Remediation

Use braces to surround all code blocks.

Time to fix 

15 min




Last modified on Jun 10, 2020