Avoid Using “for” Statements Without Using Surrounding Braces

< 1 min read

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

Updated on March 21, 2025
Was it helpful ?