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