Fixed some PMD errors

Return values and investor being used