SONARJS-265 Rule: "Avoid variable shadowing"
SONARJS-275 Rule: "Avoid variable shadowing"
Refactor.