mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 08:50:57 +07:00
10 lines
262 B
Java
10 lines
262 B
Java
// "Replace iteration with bulk 'Map.putAll()' call" "true-preview"
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
|
|
class Main extends HashMap<String, Integer> {
|
|
void test() {
|
|
Map<String, Integer> result = new HashMap<>();
|
|
result.putAll(this);
|
|
}
|
|
} |