Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/redundantUnmodifiable/afterIntermediateMethod.java
Andrey.Cherkasov 6fbd744430 RedundantUnmodifiableInspection created: IDEA-202309
GitOrigin-RevId: d5a5e1f45ba0f6e0af786ca588caaa192cd4b554
2020-09-25 11:52:07 +00:00

36 lines
621 B
Java

// "Fix all 'Redundant usage of unmodifiable collection factories' problems in file" "true"
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Set;
class Main {
public static void main(String[] args) {
getEmptyList();
getEmptyList();
getEmptySet();
getEmptyMap();
getEmptySet();
getEmptyMap();
getEmptySet();
getEmptyMap();
}
static List getEmptyList() {
return Collections.emptyList();
}
static Set getEmptySet() {
return Collections.emptySet();
}
static Map getEmptyMap() {
return Collections.emptyMap();
}
}