This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git


The following commit(s) were added to refs/heads/master by this push:
     new 9345437e0 Javadoc fix
9345437e0 is described below

commit 9345437e0f6bdc7232b8fa9eea46b705693dd447
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Jul 29 19:35:39 2024 -0400

    Javadoc fix
---
 src/main/java/org/apache/commons/lang3/Streams.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/lang3/Streams.java 
b/src/main/java/org/apache/commons/lang3/Streams.java
index 6a7883f8a..1776b829a 100644
--- a/src/main/java/org/apache/commons/lang3/Streams.java
+++ b/src/main/java/org/apache/commons/lang3/Streams.java
@@ -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.
  *

Reply via email to