mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-12-07 17:48:40 +08:00
fix bug
This commit is contained in:
parent
102a40c46b
commit
5b2d764df4
@ -532,7 +532,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());
|
||||||
@ -625,7 +625,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