blob: 996fa506b5c1a3d7f69bd9470a251c09a156211f [file]
// "Replace with 'replaceAll' method 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> (String key : map.keySet()) {
map.put(key, key);
}
}
}