mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-12 04:36:59 +07:00
11 lines
264 B
Java
11 lines
264 B
Java
// "Replace with 'Map.of()' call" "true"
|
|
import java.util.*;
|
|
|
|
public class Test {
|
|
public void test() {
|
|
Map<String, String> myMap = new HashMap<>();
|
|
myMap.put("a", "b");
|
|
myMap.put("c", "b");
|
|
myMap = Collections.unmo<caret>difiableMap(myMap);
|
|
}
|
|
} |