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

rgoers pushed a commit to branch LoggerContextProperties
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit 4145b9381321763d0f711682c0da6554773684dd
Author: Michael Ernst <[email protected]>
AuthorDate: Wed Apr 12 06:05:40 2023 -0700

    Change `{@literal null}` to `{@code null}` (#1424)
---
 .../main/java/org/apache/log4j/config/Log4j1ConfigurationParser.java  | 2 +-
 log4j-api/src/main/java/org/apache/logging/log4j/LogBuilder.java      | 2 +-
 .../java/org/apache/logging/log4j/core/parser/LogEventParser.java     | 4 ++--
 .../java/org/apache/logging/log4j/core/parser/TextLogEventParser.java | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/log4j-1.2-api/src/main/java/org/apache/log4j/config/Log4j1ConfigurationParser.java
 
b/log4j-1.2-api/src/main/java/org/apache/log4j/config/Log4j1ConfigurationParser.java
index 3d364bca02..d9f64792da 100644
--- 
a/log4j-1.2-api/src/main/java/org/apache/log4j/config/Log4j1ConfigurationParser.java
+++ 
b/log4j-1.2-api/src/main/java/org/apache/log4j/config/Log4j1ConfigurationParser.java
@@ -80,7 +80,7 @@ public class Log4j1ConfigurationParser {
      *
      * @param input
      *            InputStream to read from is assumed to be ISO 8859-1, and 
will not be closed.
-     * @return the populated ConfigurationBuilder, never {@literal null}
+     * @return the populated ConfigurationBuilder, never {@code null}
      * @throws IOException
      *             if unable to read the input
      * @throws ConfigurationException
diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/LogBuilder.java 
b/log4j-api/src/main/java/org/apache/logging/log4j/LogBuilder.java
index aea9028291..c590d99300 100644
--- a/log4j-api/src/main/java/org/apache/logging/log4j/LogBuilder.java
+++ b/log4j-api/src/main/java/org/apache/logging/log4j/LogBuilder.java
@@ -116,7 +116,7 @@ public interface LogBuilder {
      * Causes all the data collected to be logged along with the message.
      *
      * @param messageSupplier The supplier of the message to log.
-     * @return the message logger or {@literal null} if no logging occurred.
+     * @return the message logger or {@code null} if no logging occurred.
      * @since 2.20
      */
     default Message logAndGet(final Supplier<Message> messageSupplier) {
diff --git 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/parser/LogEventParser.java
 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/parser/LogEventParser.java
index 6d071bd0b8..03f96c117c 100644
--- 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/parser/LogEventParser.java
+++ 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/parser/LogEventParser.java
@@ -27,7 +27,7 @@ public interface LogEventParser {
      *
      * @param input  the byte array
      *
-     * @return the parsed LogEvent, never {@literal null}.
+     * @return the parsed LogEvent, never {@code null}.
      * @throws ParseException if the input is malformed and cannot be parsed 
as a LogEvent
      */
     LogEvent parseFrom(byte[] input) throws ParseException;
@@ -40,7 +40,7 @@ public interface LogEventParser {
      * @param offset  the initial offset
      * @param length  the length
      *
-     * @return the parsed LogEvent, never {@literal null}.
+     * @return the parsed LogEvent, never {@code null}.
      * @throws ParseException if the input is malformed and cannot be parsed 
as a LogEvent
      */
     LogEvent parseFrom(byte[] input, int offset, int length) throws 
ParseException;
diff --git 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/parser/TextLogEventParser.java
 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/parser/TextLogEventParser.java
index 2ef2bc3dd7..1560c78f91 100644
--- 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/parser/TextLogEventParser.java
+++ 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/parser/TextLogEventParser.java
@@ -28,7 +28,7 @@ public interface TextLogEventParser extends LogEventParser {
      *
      * @param input  the string
      *
-     * @return the parsed LogEvent, never {@literal null}.
+     * @return the parsed LogEvent, never {@code null}.
      * @throws ParseException if the input is malformed and cannot be parsed 
as a LogEvent
      */
     LogEvent parseFrom(String input) throws ParseException;

Reply via email to