Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/redundantUnmodifiable/afterWithParentheses.java
Andrey.Cherkasov 4d2632fc41 Fixes after review: IDEA-202309
GitOrigin-RevId: 542cdc5e1c3b401a6a3e37504cf9351212aac4be
2020-09-28 10:57:18 +00:00

21 lines
689 B
Java

// "Fix all 'Redundant usage of unmodifiable collection wrappers' problems in file" "true"
import java.util.*;
class Main {
public static void main(String[] args) {
Collection unmodifiableCollection = ((Collections.emptyList()));
List unmodifiableList = ((Collections.emptyList()));
Set unmodifiableSet = ((Collections.emptySet()));
Map unmodifiableMap = ((Collections.emptyMap()));
SortedSet unmodifiableSortedSet = ((Collections.emptySet()));
SortedMap unmodifiableSortedMap = ((Collections.emptyMap()));
NavigableSet unmodifiableNavigableSet = ((Collections.emptySet()));
NavigableMap unmodifiableNavigableMap = ((Collections.emptyMap()));
}
}