use map instead of list comprehension (IDEA-CR-14211)