refactoring: use typed empty list instead of a List<Object>

It will remove one recently introduced warning.