Table of Contents
Impact Area
Manageability
SeverityHigh
Affected ElementLightning
Rule ID #
SF-0055
Impact #
Use of the with
statement is not recommended, as it may be the source of confusing bugs: you cannot determine what the identifier refers to by looking at its syntactic surroundings.
Remediation
Remove uses of the with
keyword.
Time to fix
15 min
References #
See the PMD documentation article: Avoidwithstatement.