At first, I've added the parentheses because this way it's more readable to me. But as I was trying to implement the quickfix I realised that it would be possible to make mistake in this case: change "(List<String>)" to "List<*>". That's why I left the parentheses in one test case.