Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/explicitArgumentCanBeLambda/beforeMapPutIfAbsentPossiblyNullable.java
Alexander Zolotov 391bda1c4b Update color schemes
- support the new Go colors

GitOrigin-RevId: 4ecd779a6ceae3f36b60c6656d9ff819fe844f89
2019-07-02 06:52:16 +03:00

12 lines
290 B
Java

// "Use 'computeIfAbsent' method with functional argument" "false"
import java.util.*;
class Test {
public void test(Map<String, List<Integer>> map, String key) {
map.putIfAbsent(key, createList<caret>());
map.get(key).add(0);
}
private native List<Integer> createList();
}