fix format

This commit is contained in:
Looly 2023-11-12 17:29:43 +08:00
parent 65d7ff0d1c
commit fa0d757c2d

View File

@ -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;
} }
); );