mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-05 04:40:28 +07:00
36 lines
621 B
Java
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();
|
|
}
|
|
}
|