Skip to content

Commit

Permalink
Change MessageFormatter / FormattingTuple to public (netty#12131)
Browse files Browse the repository at this point in the history
Motivation:

Allow other Logging integration to use optimised MessageFormatter implementation

Modifications:

Change MessageFormatter /  FormattingTuple to public  

Result:

Fix netty#12129
  • Loading branch information
devsprint authored Mar 1, 2022
1 parent f79acfc commit 09dbf99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
/**
* Holds the results of formatting done by {@link MessageFormatter}.
*/
final class FormattingTuple {
public final class FormattingTuple {

private final String message;
private final Throwable throwable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
* {@link #format(String, Object, Object)} and
* {@link #arrayFormat(String, Object[])} methods for more details.
*/
final class MessageFormatter {
public final class MessageFormatter {
private static final String DELIM_STR = "{}";
private static final char ESCAPE_CHAR = '\\';

Expand Down

0 comments on commit 09dbf99

Please sign in to comment.