// "Fix all 'Immutable collection creation can be replaced with collection factory call' problems in file" "false" import java.util.*; class Main { private final List myList; private final Map myMap; private final Set mySet; Main(Collection list, Map map, Set set) { myList = Collections.unmodifiableList(new ArrayList<>(list)); myMap = Collections.unmodifiableMap(new HashMap<>(map)); mySet = Collections.unmodifiableSet(new HashSet<>(set)); } }