mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
9 lines
200 B
Java
9 lines
200 B
Java
// "Remove 'containsKey()' check" "true-preview"
|
|
import java.util.Map;
|
|
|
|
class Test {
|
|
void test(Map<String, Integer> map, String key) {
|
|
/*contains!!!*/
|
|
map.remove(/*remove!!!*/key);
|
|
}
|
|
} |