mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
15 lines
352 B
Java
15 lines
352 B
Java
// "Replace with 'replaceAll' method call" "false"
|
|
|
|
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(), String.valueOf(entry));
|
|
}
|
|
}
|
|
}
|