mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-17 16:19:58 +07:00
Merge remote-tracking branch 'origin/master' into eldar/cidr-debugger
# Conflicts: # CIDR/clion/src/com/jetbrains/cidr/cpp/toolchains/MSVC.java GitOrigin-RevId: f3593b526d1870f32b3f1451cab0c6a653e5beb5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c9c165702a
commit
1120c30a56
-8
@@ -1,8 +0,0 @@
|
||||
// "Use 'putIfAbsent' method without lambda" "false"
|
||||
import java.util.Map;
|
||||
|
||||
class Test {
|
||||
public void test(Map<String, String> map, String key, String value) {
|
||||
map.computeIfAbsent(key, k <caret>-> value);
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Use 'computeIfAbsent' method with functional argument" "true"
|
||||
|
||||
import java.util.*;
|
||||
import java.util.Map;
|
||||
|
||||
class Test {
|
||||
public void test(Map<String, List<Integer>> map, String key) {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Use 'computeIfAbsent' method with functional argument" "true"
|
||||
|
||||
import java.util.*;
|
||||
import java.util.Map;
|
||||
|
||||
class Test {
|
||||
public void test(Map<String, List<Integer>> map, String key) {
|
||||
|
||||
-12
@@ -1,12 +0,0 @@
|
||||
// "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();
|
||||
}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Use 'computeIfAbsent' method with functional argument" "false"
|
||||
|
||||
import java.util.*;
|
||||
import java.util.Map;
|
||||
|
||||
class Test {
|
||||
public void test(Map<String, List<Integer>> map, String key) {
|
||||
|
||||
Reference in New Issue
Block a user