mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
13 lines
282 B
Java
13 lines
282 B
Java
// "Replace with 'replaceAll' method call" "false"
|
|
|
|
public class Main {
|
|
public void test() {
|
|
Map<String, String> map = new HashMap<>();
|
|
map.put("foo", "bar");
|
|
String s = "foo";
|
|
s += "bar";
|
|
for<caret> (String k : map.keySet()) {
|
|
map.put(k, s);
|
|
}
|
|
}
|
|
} |