Skip to content

Commit

Permalink
Drop this
Browse files Browse the repository at this point in the history
  • Loading branch information
rickie committed May 3, 2023
1 parent ac5ffd2 commit ebf5131
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ Optional<S> after(Stream<T> stream, Function<? super T, S> function) {
}

/** In order to test whether a stream has any element, simply try to find one. */
// XXX: This this rule assumes that any matched `Collector` does not perform any filtering.
// XXX: This rule assumes that any matched `Collector` does not perform any filtering.
// (Perhaps we could add a `@Matches` guard that validates that the collector expression does not
// contain a `Collectors#filtering` call. That'd still not be 100% accurate, though.)
static final class StreamIsEmpty<T> {
Expand Down

0 comments on commit ebf5131

Please sign in to comment.