Skip to content

Commit

Permalink
Merge pull request #41 from xingyutangyuan/master
Browse files Browse the repository at this point in the history
BiStream.crossJoining() fails compiling in my local Eclipse. By addin…
  • Loading branch information
fluentfuture authored Nov 5, 2023
2 parents 6b9ffa2 + f6517e9 commit 767c36f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mug/src/main/java/com/google/mu/util/stream/BiStream.java
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ public static <K, V> Builder<K, V> builder() {
requireNonNull(right);
return collectingAndThen(
toList(),
left ->
(List<L> left) ->
// If `right` is infinite, even limit(1) will result in infinite loop otherwise.
left.isEmpty() ? empty() : concat(right.map(r -> from(left, identity(), l -> r))));
}
Expand Down

0 comments on commit 767c36f

Please sign in to comment.