PMD-Warnings - reduced function size