UnnecessaryLocalBeforeReturn Category: pmd Rule Key: pmd:UnnecessaryLocalBeforeReturn ⚠️ This rule is deprecated in favour of S1488. Avoid unnecessarily creating local variables