Javadoc fix

This commit is contained in:
Gary Gregory 2024-07-29 19:35:39 -04:00
parent fa01994df1
commit 9345437e0f
1 changed files with 2 additions and 2 deletions

View File

@ -52,9 +52,9 @@ import org.apache.commons.lang3.Functions.FailablePredicate;
* stream.forEach(consumer);
* }</pre>
* Using a {@link FailableStream}, this can be rewritten as follows:
* <pre>
* <pre>{@code
* Streams.failable(stream).forEach((m) -> m.invoke(o, args));
* </pre>
* }</pre>
* Obviously, the second version is much more concise and the spirit of
* Lambda expressions is met better than in the first version.
*