Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change {@literal null} to {@code null} #1424

Merged
merged 1 commit into from
Apr 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ default void log(Supplier<Message> messageSupplier) {
* 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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down