[TASK] minor code cleanup

Change-Id: I839535ca2766950cc490bb6ae17a38c04af94d4d
Reviewed-on: https://review.typo3.org/29212
Reviewed-by: Rupert Germann
Tested-by: Rupert Germann