mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix format
This commit is contained in:
parent
65d7ff0d1c
commit
fa0d757c2d
@ -243,12 +243,9 @@ public class CollectorUtil {
|
|||||||
value.forEach((k, v) -> result.computeIfAbsent(k, i -> new ArrayList<>()).add(v));
|
value.forEach((k, v) -> result.computeIfAbsent(k, i -> new ArrayList<>()).add(v));
|
||||||
return result;
|
return result;
|
||||||
}, (l, r) -> {
|
}, (l, r) -> {
|
||||||
R resultMap = mapSupplier.get();
|
final R resultMap = mapSupplier.get();
|
||||||
resultMap.putAll(l);
|
resultMap.putAll(l);
|
||||||
r.forEach((k, v) -> {
|
r.forEach((k, v) -> resultMap.computeIfAbsent(k, i -> new ArrayList<>()).addAll(v));
|
||||||
List<V> list = resultMap.computeIfAbsent(k, i -> new ArrayList<>());
|
|
||||||
list.addAll(v);
|
|
||||||
});
|
|
||||||
return resultMap;
|
return resultMap;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user