This is an automated email from the ASF dual-hosted git repository.
rgoers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/master by this push:
new b7cae74 (doc) Fix Logger documentation formatting error (#424)
b7cae74 is described below
commit b7cae741b2de744535d0ef97134e411dd1967b0c
Author: Marcono1234 <[email protected]>
AuthorDate: Sun Feb 7 03:50:41 2021 +0100
(doc) Fix Logger documentation formatting error (#424)
`{@link ...}` already formats the link text as code (unlike `{@linkplain
...}`) and additionally
does not support nested Javadoc tags, so currently the HTML output is
"{@code Supplier<Message>}".
---
log4j-api/src/main/java/org/apache/logging/log4j/Logger.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/Logger.java
b/log4j-api/src/main/java/org/apache/logging/log4j/Logger.java
index 729e92f..aa0a4f8 100644
--- a/log4j-api/src/main/java/org/apache/logging/log4j/Logger.java
+++ b/log4j-api/src/main/java/org/apache/logging/log4j/Logger.java
@@ -68,7 +68,7 @@ import org.apache.logging.log4j.util.Supplier;
* </pre>
*
* <p>
- * Note that although {@link MessageSupplier} is provided, using {@link
Supplier {@code Supplier<Message>}} works just the
+ * Note that although {@link MessageSupplier} is provided, using {@link
Supplier Supplier<Message>} works just the
* same. MessageSupplier was deprecated in 2.6 and un-deprecated in 2.8.1.
Anonymous class usage of these APIs
* should prefer using Supplier instead.
* </p>