// "Fix all 'Immutable collection creation can be replaced with collection factory call' problems in file" "true" import java.util.*; class Main { private final List myList; private final List myList3; private final Map myMap; private final Set mySet; private final Set mySet2; Main(Collection list, Map map, Set set) { myList = List.copyOf(list); myList2 = List.copyOf(set); myMap = Map.copyOf(map); mySet = Set.copyOf(set); mySet2 = Set.copyOf(list); } }