mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
10 lines
220 B
Java
10 lines
220 B
Java
// "Replace with 'Map.containsKey()'" "true-preview"
|
|
import java.util.Map;
|
|
|
|
class Test {
|
|
void test(Map<String, String> map, String key) {
|
|
if(map.containsKey(key)) {
|
|
System.out.println("contains");
|
|
}
|
|
}
|
|
} |