mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-29 18:17:08 +07:00
GitOrigin-RevId: 088ce28eb3b8cbbce9aa1cfc1b073fef2dab12ce
14 lines
340 B
Java
14 lines
340 B
Java
// "Replace with 'replaceAll()' call" "true"
|
|
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
|
|
public class Main {
|
|
public void test() {
|
|
Map<String, String> map = new HashMap<>();
|
|
map.put("foo", "bar");
|
|
for<caret> (Map.Entry<String, String> entry : map.entrySet()) {
|
|
map.put(entry.getKey(), entry.getValue());
|
|
}
|
|
}
|
|
} |