mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-12-07 01:28:34 +08:00
commit
95a7c76a1b
@ -534,7 +534,7 @@ public class CollectorUtil {
|
|||||||
}
|
}
|
||||||
|
|
||||||
final RR finisherRightValue;
|
final RR finisherRightValue;
|
||||||
if (lDownstream.characteristics().contains(Collector.Characteristics.IDENTITY_FINISH)) {
|
if (rDownstream.characteristics().contains(Collector.Characteristics.IDENTITY_FINISH)) {
|
||||||
finisherRightValue = (RR) finisherPair.getRight();
|
finisherRightValue = (RR) finisherPair.getRight();
|
||||||
} else {
|
} else {
|
||||||
finisherRightValue = rDownstream.finisher().apply(finisherPair.getRight());
|
finisherRightValue = rDownstream.finisher().apply(finisherPair.getRight());
|
||||||
@ -628,7 +628,7 @@ public class CollectorUtil {
|
|||||||
}
|
}
|
||||||
|
|
||||||
final RR finisherRightValue;
|
final RR finisherRightValue;
|
||||||
if (lDownstream.characteristics().contains(Collector.Characteristics.IDENTITY_FINISH)) {
|
if (rDownstream.characteristics().contains(Collector.Characteristics.IDENTITY_FINISH)) {
|
||||||
finisherRightValue = (RR) finisherTriple.getRight();
|
finisherRightValue = (RR) finisherTriple.getRight();
|
||||||
} else {
|
} else {
|
||||||
finisherRightValue = rDownstream.finisher().apply(finisherTriple.getRight());
|
finisherRightValue = rDownstream.finisher().apply(finisherTriple.getRight());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user